classcard-ui 0.2.1473 → 0.2.1474

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "classcard-ui",
3
- "version": "0.2.1473",
3
+ "version": "0.2.1474",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -94,14 +94,14 @@
94
94
  </div>
95
95
  </div>
96
96
  <slot v-if="item.name" :name="item.name"></slot>
97
- <c-tooltip
98
- v-if="item.tooltip && showTooltipIndex === index"
99
- :tooltipText="item.tooltip.text"
100
- :isTopAligned="true"
101
- :classes="item.tooltip.classes"
102
- :color="item.tooltip.color"
103
- ></c-tooltip>
104
97
  </a>
98
+ <c-tooltip
99
+ v-if="item.tooltip && item.tooltip.text && showTooltipIndex === index"
100
+ :tooltipText="item.tooltip.text"
101
+ :isTopAligned="true"
102
+ :classes="item.tooltip.classes"
103
+ :color="item.tooltip.color"
104
+ ></c-tooltip>
105
105
  <hr v-if="item.border" class="my-1" />
106
106
  </div>
107
107
  </div>
@@ -163,7 +163,7 @@ export default {
163
163
  data() {
164
164
  return {
165
165
  toggleDropdown: false,
166
- showTooltipIndex: false,
166
+ showTooltipIndex: null,
167
167
  };
168
168
  },
169
169
  methods: {