From 25423f90a16eb0b9dfd563bd27f9c2d7f6e19296 Mon Sep 17 00:00:00 2001 From: roiLeo Date: Mon, 13 Sep 2021 10:26:34 +0200 Subject: [PATCH] fix(collection): errors in console --- src/components/rmrk/Gallery/GalleryCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/rmrk/Gallery/GalleryCard.vue b/src/components/rmrk/Gallery/GalleryCard.vue index d33876d665..027cf5b48e 100644 --- a/src/components/rmrk/Gallery/GalleryCard.vue +++ b/src/components/rmrk/Gallery/GalleryCard.vue @@ -88,7 +88,7 @@ export default class GalleryCard extends Vue { this.title = meta.name } else { const m = await fetchNFTMetadata({ metadata: this.metadata } as NFT, getSanitizer(this.metadata, undefined, 'permafrost')) - this.image = getSanitizer(meta.image || '')(meta.image || '') + this.image = getSanitizer(m.image || '')(m.image || '') this.title = m.name update(this.metadata, () => m) }