From faafa49640c4f0d54a3a0ec6394094380749c35c Mon Sep 17 00:00:00 2001
From: callebtc <93376500+callebtc@users.noreply.github.com>
Date: Thu, 14 Nov 2024 16:27:34 +0100
Subject: [PATCH] add mint icon
---
src/components/MintSettings.vue | 26 ++++++++++++++++++++++----
1 file changed, 22 insertions(+), 4 deletions(-)
diff --git a/src/components/MintSettings.vue b/src/components/MintSettings.vue
index 9a90a22..2163a20 100644
--- a/src/components/MintSettings.vue
+++ b/src/components/MintSettings.vue
@@ -16,9 +16,9 @@
:active="mint.url == activeMintUrl"
active-class="text-weight-bold text-primary"
clickable
- class="q-pb-xs"
+ class="q-pb-xs q-pl-xs"
>
-
+
+
+
+
@@ -81,7 +88,7 @@
-
+
@@ -807,6 +814,17 @@ export default defineComponent({
this.showMintInfoData = mint;
this.showMintInfoDialog = true;
},
+ getMintIconUrl: function (mint) {
+ if (mint.info) {
+ if (mint.info.icon_url) {
+ return mint.info.icon_url;
+ } else {
+ return undefined;
+ }
+ } else {
+ return undefined;
+ }
+ },
},
created: function () {},
});