Fix merge button dropdown (CE)

This commit fixes an issue that was causing the merge button dropdown
trigger to be shown even if the dropdown itself was hidden. This commit
also fixes an issue that caused the "Merge Immediately" option not to be
available when merge trains were enabled.
99 jobs for ce-nfriend-fix-the-merge-button in 75 minutes and 30 seconds (queued for 1 minute and 28 seconds)
Status Job ID Name Coverage
  Prepare
passed #270839486
gitlab-org
compile-assets pull-cache

00:06:12

passed #270839548
gitlab-org
retrieve-tests-metadata

00:01:34

passed #270839543
gitlab-org
setup-test-env

00:06:47

 
  Test
passed #270840177
docker gitlab-org
build-qa-image

00:06:47

passed #270839601
allowed to fail
code_quality

00:07:03

passed #270840200
gitlab-org
danger-review

00:02:23

passed #270840145
gitlab-org
db:check-schema-pg

00:02:12

passed #270840141
gitlab-org
db:migrate:reset-pg

00:03:13

passed #270840170
gitlab-org
db:rollback-pg

00:03:01

passed #270839612
allowed to fail
dependency_scanning

00:09:19

passed #270839550
gitlab-org
docs lint

00:02:26

passed #270840131
gitlab-org
downtime_check

00:02:06

passed #270840134
gitlab-org
ee_compat_check

00:03:20

passed #270839552
gitlab-org docker
gitlab:assets:compile pull-cache

00:17:47

passed #270840173
gitlab-org
gitlab:setup-pg

00:03:02

passed #270840204
gitlab-org
gitlab_git_test

00:01:10

passed #270839558
gitlab-org
jest

00:16:35

passed #270839555
gitlab-org
karma

00:13:16

53.85%
passed #270840215
gitlab-org
lint-ci-gitlab

00:00:43

passed #270839598
gitlab-org
memory-on-boot

00:04:58

passed #270839593
gitlab-org
memory-static

00:03:07

passed #270840166
gitlab-org
migration:path-pg

00:09:11

passed #270840207
gitlab-org
no_ee_check

00:00:36

passed #270839585
gitlab-org
qa-frontend-node:10

00:15:54

passed #270839579
gitlab-org
qa-frontend-node:8

00:17:49

passed #270839591
gitlab-org allowed to fail
qa-frontend-node:latest

00:14:38

passed #270839561
gitlab-org
qa:internal

00:04:29

passed #270839565
gitlab-org
qa:selectors

00:03:22

passed #270840194
allowed to fail manual
review-build-cng

00:26:53

passed #270839873
gitlab-org
rspec integration pg 1/6

00:15:05

passed #270839881
gitlab-org
rspec integration pg 2/6

00:17:32

passed #270839893
gitlab-org
rspec integration pg 3/6

00:18:02

passed #270839905
gitlab-org
rspec integration pg 4/6

00:16:26

passed #270839912
gitlab-org
rspec integration pg 5/6

00:17:43

passed #270839923
gitlab-org
rspec integration pg 6/6

00:16:19

passed #270839933
gitlab-org
rspec system pg 1/24

00:11:11

passed #270840044
gitlab-org
rspec system pg 10/24

00:13:00

passed #270840048
gitlab-org
rspec system pg 11/24

00:12:31

passed #270840056
gitlab-org
rspec system pg 12/24

00:13:54

passed #270840060
gitlab-org
rspec system pg 13/24

00:16:18

passed #270840063
gitlab-org
rspec system pg 14/24

00:11:40

passed #270840068
gitlab-org
rspec system pg 15/24

00:13:04

passed #270840070
gitlab-org
rspec system pg 16/24

00:13:13

passed #270840072
gitlab-org
rspec system pg 17/24

00:14:11

passed #270840082
gitlab-org
rspec system pg 18/24

00:14:46

passed #270840087
gitlab-org
rspec system pg 19/24

00:13:03

passed #270839940
gitlab-org
rspec system pg 2/24

00:11:55

passed #270840089
gitlab-org
rspec system pg 20/24

00:11:16

passed #270840095
gitlab-org
rspec system pg 21/24

00:11:34

passed #270840106
gitlab-org
rspec system pg 22/24

00:15:59

passed #270840111
gitlab-org
rspec system pg 23/24

00:13:15

passed #270840113
gitlab-org
rspec system pg 24/24

00:13:36

passed #270839947
gitlab-org
rspec system pg 3/24

00:14:43

passed #270839955
gitlab-org
rspec system pg 4/24

00:15:11

passed #270839963
gitlab-org
rspec system pg 5/24

00:11:13

passed #270839968
gitlab-org
rspec system pg 6/24

00:10:45

passed #270839971
gitlab-org
rspec system pg 7/24

00:14:43

passed #270840014
gitlab-org
rspec system pg 8/24

00:11:12

passed #270840032
gitlab-org
rspec system pg 9/24

00:13:11

passed #270839613
gitlab-org
rspec unit pg 1/20

00:11:30

passed #270839726
gitlab-org
rspec unit pg 10/20

00:17:07

passed #270839733
gitlab-org
rspec unit pg 11/20

00:13:57

passed #270839740
gitlab-org
rspec unit pg 12/20

00:14:47

passed #270839747
gitlab-org
rspec unit pg 13/20

00:18:18

passed #270839759
gitlab-org
rspec unit pg 14/20

00:17:24

passed #270839773
gitlab-org
rspec unit pg 15/20

00:14:14

passed #270839786
gitlab-org
rspec unit pg 16/20

00:15:47

passed #270839816
gitlab-org
rspec unit pg 17/20

00:17:26

passed #270839827
gitlab-org
rspec unit pg 18/20

00:15:10

passed #270839835
gitlab-org
rspec unit pg 19/20

00:16:26

passed #270839630
gitlab-org
rspec unit pg 2/20

00:13:55

passed #270839864
gitlab-org
rspec unit pg 20/20

00:15:58

passed #270839653
gitlab-org
rspec unit pg 3/20

00:11:49

passed #270839658
gitlab-org
rspec unit pg 4/20

00:15:08

passed #270839663
gitlab-org
rspec unit pg 5/20

00:14:01

passed #270839680
gitlab-org
rspec unit pg 6/20

00:14:43

passed #270839685
gitlab-org
rspec unit pg 7/20

00:16:35

passed #270839690
gitlab-org
rspec unit pg 8/20

00:13:03

passed #270839695
gitlab-org
rspec unit pg 9/20

00:16:21

passed #270840116
gitlab-org
rspec-fast-spec-helper

00:03:26

passed #270839604
allowed to fail
sast

00:08:10

passed #270840118
gitlab-org
static-analysis

00:13:04

 
  Review
manual #270840243
allowed to fail manual
package-and-qa
passed #270840245
gitlab-org allowed to fail
review-deploy

00:14:49

manual #270840229
gitlab-org allowed to fail manual
review-docs-cleanup
manual #270840219
gitlab-org allowed to fail manual
review-docs-deploy-manual
passed #270840256
gitlab-org allowed to fail manual
review-stop

00:01:30

 
  Qa
passed #270840317
docker gitlab-org allowed to fail
review-performance

00:03:15

manual #270840271
docker gitlab-org allowed to fail manual
review-qa-all 1/5
manual #270840273
docker gitlab-org allowed to fail manual
review-qa-all 2/5
manual #270840297
docker gitlab-org allowed to fail manual
review-qa-all 3/5
manual #270840309
docker gitlab-org allowed to fail manual
review-qa-all 4/5
manual #270840315
docker gitlab-org allowed to fail manual
review-qa-all 5/5
passed #270840268
docker gitlab-org allowed to fail
review-qa-smoke

00:04:41

 
  Post Test
passed #270840334
gitlab-org
coverage

00:03:45

96.54%
passed #270840344
gitlab-org allowed to fail
flaky-examples-check

00:01:50

passed #270840326
gitlab-org
jsdoc

00:01:38

passed #270840320
gitlab-org
lint:javascript:report

00:00:47

manual #270840338
gitlab-org allowed to fail manual
parallel-spec-reports