fix(ui): Only render <span> in Button if not icon only
This commit is contained in:
		
							parent
							
								
									75d52faedc
								
							
						
					
					
						commit
						5d503d0361
					
				| 
						 | 
				
			
			@ -128,7 +128,7 @@ onMounted(() => {
 | 
			
		|||
  @click="click"
 | 
			
		||||
>
 | 
			
		||||
  <i v-if="icon && !icon.startsWith('right ')" :class="['bi', icon]" />
 | 
			
		||||
  <span>
 | 
			
		||||
  <span v-if="!isIconOnly">
 | 
			
		||||
    <slot />
 | 
			
		||||
  </span>
 | 
			
		||||
  <i v-if="icon && icon.startsWith('right ')" :class="['bi', icon.replace('right ', '')]" />
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue