Skip to content

Commit 344c89e

Browse files
authored
Fix bug automerge cannot be chosed when there is only 1 merge style (#33040)
This is a quick bug fix. Even if there is only 1 merge style, the dropdown menu will still be displayed to allow users to choose auto-merge. Fix #32448
1 parent 232867c commit 344c89e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/components/PullRequestMergeForm.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function clearMergeMessage() {
147147
</template>
148148
</span>
149149
</button>
150-
<div class="ui dropdown icon button" @click.stop="showMergeStyleMenu = !showMergeStyleMenu" v-if="mergeStyleAllowedCount>1">
150+
<div class="ui dropdown icon button" @click.stop="showMergeStyleMenu = !showMergeStyleMenu">
151151
<svg-icon name="octicon-triangle-down" :size="14"/>
152152
<div class="menu" :class="{'show':showMergeStyleMenu}">
153153
<template v-for="msd in mergeForm.mergeStyles">

0 commit comments

Comments
 (0)