From 6972225fb1cb06ad367ba7d54431654210843ed8 Mon Sep 17 00:00:00 2001 From: marc2332 Date: Tue, 12 Sep 2023 17:24:40 +0200 Subject: [PATCH] fixes --- .../collectibles/views/CollectiblesDetailsView.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/desktop/views/dashboard/collectibles/views/CollectiblesDetailsView.svelte b/packages/desktop/views/dashboard/collectibles/views/CollectiblesDetailsView.svelte index 2617a29d04f..05bb72e35b5 100644 --- a/packages/desktop/views/dashboard/collectibles/views/CollectiblesDetailsView.svelte +++ b/packages/desktop/views/dashboard/collectibles/views/CollectiblesDetailsView.svelte @@ -49,8 +49,8 @@ const { standard, version, type, uri, description, issuerName, collectionName, attributes, soonaverseAttributes } = nft?.parsedMetadata || {} - const issuerAddress = getBech32AddressFromAddressTypes(issuer) - const collectionId = getHexAddressFromAddressTypes(issuer) + const issuerAddress = issuer ? getBech32AddressFromAddressTypes(issuer) : undefined + const collectionId = issuer ? getHexAddressFromAddressTypes(issuer) : undefined let detailsList: { [key in string]: {