diff --git a/src/components/Icon/Info.vue b/src/components/Icon/Info.vue
index e9c5bd1e4..8dd502706 100644
--- a/src/components/Icon/Info.vue
+++ b/src/components/Icon/Info.vue
@@ -1,20 +1,14 @@
-
@@ -41,7 +42,7 @@ export default {
'nft_details_page_label_access_methods_tooltips_title_drm_free'
),
text: this.$t(
- 'nft_details_page_label_access_methods_tooltips_text_drm_free'
+ 'nft_details_page_label_access_methods_tooltip_text_drm_free'
),
}
: {
@@ -49,7 +50,7 @@ export default {
'nft_details_page_label_access_methods_tooltips_title_drm'
),
text: this.$t(
- 'nft_details_page_label_access_methods_tooltips_text_drm'
+ 'nft_details_page_label_access_methods_tooltip_text_drm'
),
};
},
diff --git a/src/components/NFTBook/SpecTableValue.vue b/src/components/NFTBook/SpecTableValue.vue
index e5a75193c..4e484497c 100644
--- a/src/components/NFTBook/SpecTableValue.vue
+++ b/src/components/NFTBook/SpecTableValue.vue
@@ -4,10 +4,10 @@
-
-
+
-
+
{{ tooltipText }}
@@ -58,7 +58,7 @@ export default {
},
data() {
return {
- showTooltips: false,
+ showTooltip: false,
};
},
computed: {
@@ -68,15 +68,16 @@ export default {
},
},
methods: {
- hoverTooltips() {
- logTrackerEvent(this, 'NFTBook', 'TooltipsHover', '', 1);
+ hoverTooltip() {
+ logTrackerEvent(this, 'NFTBook', 'TooltipHover', '', 1);
},
- onclickShowTooltips() {
- this.showTooltips = true;
- logTrackerEvent(this, 'NFTBook', 'TooltipsClicked', '', 1);
+ onclickShowTooltip() {
+ this.showTooltip = true;
+ logTrackerEvent(this, 'NFTBook', 'TooltipClicked', '', 1);
+ this.$emit('clickTooltip');
},
- closeTooltips() {
- this.showTooltips = false;
+ closeTooltip() {
+ this.showTooltip = false;
},
},
};
diff --git a/src/components/NFTBook/Tooltips.vue b/src/components/NFTBook/Tooltip.vue
similarity index 96%
rename from src/components/NFTBook/Tooltips.vue
rename to src/components/NFTBook/Tooltip.vue
index dcbb59a37..53d447f3a 100644
--- a/src/components/NFTBook/Tooltips.vue
+++ b/src/components/NFTBook/Tooltip.vue
@@ -30,7 +30,7 @@
diff --git a/src/pages/nft/collection/_collectionId/index.vue b/src/pages/nft/collection/_collectionId/index.vue
index 661d21b5d..a6cee4887 100644
--- a/src/pages/nft/collection/_collectionId/index.vue
+++ b/src/pages/nft/collection/_collectionId/index.vue
@@ -9,6 +9,7 @@
:collection-id="collectionId"
preset="details"
@click-avatar="handleNFTCardClickAvatar"
+ @clickTooltip="handleNFTCardClickTooltip"
>