mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 11:11:53 +00:00
nit
This commit is contained in:
@@ -48,7 +48,7 @@ const {
|
|||||||
} = defineProps<IconTextButtonProps>()
|
} = defineProps<IconTextButtonProps>()
|
||||||
|
|
||||||
const slots = useSlots()
|
const slots = useSlots()
|
||||||
const hasDefaultSlot = computed(() => !!slots.default)
|
const hasDefaultSlot = computed(() => Boolean(slots.default?.().length))
|
||||||
|
|
||||||
const buttonStyle = computed(() => {
|
const buttonStyle = computed(() => {
|
||||||
const baseClasses = `${getBaseButtonClasses()} justify-start gap-2`
|
const baseClasses = `${getBaseButtonClasses()} justify-start gap-2`
|
||||||
|
|||||||
Reference in New Issue
Block a user