Skip to content

Commit

Permalink
fix: set tooltip v model truthy
Browse files Browse the repository at this point in the history
  • Loading branch information
caro3801 committed Jul 22, 2024
1 parent d13519a commit 4ddc9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/IconButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ const labelOrLoadingText = computed(() => {
})
const showTooltip = computed(() => {
return currentHover.value && !props.hideTooltip && props.hideLabel && props.label
return currentHover.value && !props.hideTooltip && props.hideLabel && !!props.label
})
const buttonProps = computed(() => ({
Expand Down

0 comments on commit 4ddc9c6

Please sign in to comment.