diff --git a/frontend/marketplace/src/components/AuctionResultsCard.vue b/frontend/marketplace/src/components/AuctionResultsCard.vue index 616947fa..e32d74ee 100644 --- a/frontend/marketplace/src/components/AuctionResultsCard.vue +++ b/frontend/marketplace/src/components/AuctionResultsCard.vue @@ -36,9 +36,12 @@ interface CardDetailsList { const props = defineProps(); const denom = ref(""); -const volume = computed(() => { - return Number(props.cardData.creditCollection.retiredAmount) + Number(props.cardData.creditCollection.activeAmount) - }) +const volume = computed(() => { + return ( + parseInt(props.cardData.creditCollection.retiredAmount) + + parseInt(props.cardData.creditCollection.activeAmount) + ); +}); const cardDetailsList = ref(); const showSpinner = ref(true); const applicant = computed(() => { @@ -50,7 +53,7 @@ onMounted(async () => { cardDetailsList.value = getDetailsList( props.cardData.creditCollection.creditData.nodes, ); - showSpinner.value = false; + showSpinner.value = false; }); const handleViewDetailsClick = () => { diff --git a/frontend/marketplace/src/components/ImageGallery.vue b/frontend/marketplace/src/components/ImageGallery.vue index cb204040..673a3cf3 100644 --- a/frontend/marketplace/src/components/ImageGallery.vue +++ b/frontend/marketplace/src/components/ImageGallery.vue @@ -22,7 +22,6 @@ watch( const handleActiveImage = (url: string) => { activeImageURL.value = url; - showSpinner.value = false; };