mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -147,7 +147,7 @@ function clearMergeMessage() { | ||||
|             </template> | ||||
|           </span> | ||||
|         </button> | ||||
|         <div class="ui dropdown icon button" @click.stop="showMergeStyleMenu = !showMergeStyleMenu" v-if="mergeStyleAllowedCount>1"> | ||||
|         <div class="ui dropdown icon button" @click.stop="showMergeStyleMenu = !showMergeStyleMenu"> | ||||
|           <svg-icon name="octicon-triangle-down" :size="14"/> | ||||
|           <div class="menu" :class="{'show':showMergeStyleMenu}"> | ||||
|             <template v-for="msd in mergeForm.mergeStyles"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Lunny Xiao
					Lunny Xiao