Skip to content

Commit

Permalink
fix: tool tipper component behavior to shouldShowTooltip computation
Browse files Browse the repository at this point in the history
  • Loading branch information
kirklin committed Apr 7, 2024
1 parent c672900 commit 942fa0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/admin/src/component/ActionIcon/src/ToolTipper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const props = withDefaults(defineProps<ToolTipperProps>(), {
contentClass: "",
});
const { tooltipText, placement, contentClass } = toRefs(props);
const shouldShowTooltip = computed(() => isEmpty(tooltipText));
const shouldShowTooltip = computed(() => !isEmpty(tooltipText.value));
</script>

<template>
Expand Down

0 comments on commit 942fa0b

Please sign in to comment.