We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e99954a + b1b0def commit f2b7475Copy full SHA for f2b7475
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@sysvale/cuida",
3
- "version": "3.150.0",
+ "version": "3.150.1",
4
"description": "A design system built by Sysvale, using storybook and Vue components",
5
"repository": {
6
"type": "git",
src/components/Tooltip.vue
@@ -1,7 +1,7 @@
<!-- eslint-disable vue/multi-word-component-names -->
<template>
<div
- v-cdstip="tooltipConfig"
+ v-cdstip="hasText && tooltipConfig"
class="tooltip-width"
:data-tippy-placement="position"
7
:data-tippy-allowHTML="true"
@@ -88,6 +88,8 @@ const tooltipConfig = computed(() => {
88
},
89
};
90
});
91
+
92
+const hasText = computed(() => props.text && props.text.length > 0);
93
</script>
94
95
<style lang="scss">
0 commit comments