From 942fa0b3fddb65c9540e02842a9749f1662d25fe Mon Sep 17 00:00:00 2001 From: Kirk Lin Date: Sun, 7 Apr 2024 14:50:29 +0800 Subject: [PATCH] fix: tool tipper component behavior to shouldShowTooltip computation --- apps/admin/src/component/ActionIcon/src/ToolTipper.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/admin/src/component/ActionIcon/src/ToolTipper.vue b/apps/admin/src/component/ActionIcon/src/ToolTipper.vue index d1f317a..f026b6e 100644 --- a/apps/admin/src/component/ActionIcon/src/ToolTipper.vue +++ b/apps/admin/src/component/ActionIcon/src/ToolTipper.vue @@ -23,7 +23,7 @@ const props = withDefaults(defineProps(), { contentClass: "", }); const { tooltipText, placement, contentClass } = toRefs(props); -const shouldShowTooltip = computed(() => isEmpty(tooltipText)); +const shouldShowTooltip = computed(() => !isEmpty(tooltipText.value));