mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 06:24:11 +01: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:
		
							parent
							
								
									232867cff6
								
							
						
					
					
						commit
						344c89ea34
					
				@ -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">
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user