From 3eb5ece34dbdca40c62f65360f5ed7ef120cb2d8 Mon Sep 17 00:00:00 2001 From: Matt Kilgore Date: Sat, 19 Oct 2024 13:10:19 -0400 Subject: [PATCH] fix: minor things --- frontend/pages/item/[id]/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/pages/item/[id]/index.vue b/frontend/pages/item/[id]/index.vue index b35aecd1..4ec23dd7 100644 --- a/frontend/pages/item/[id]/index.vue +++ b/frontend/pages/item/[id]/index.vue @@ -303,7 +303,7 @@ if (preferences.value.showEmpty) { return true; } - return item.value?.purchaseFrom || item.value?.purchasePrice !== "0"; + return item.value?.purchaseFrom || item.value?.purchasePrice !== 0; }); const purchaseDetails = computed
(() => { @@ -336,7 +336,7 @@ if (preferences.value.showEmpty) { return true; } - return item.value?.soldTo || item.value?.soldPrice !== "0"; + return item.value?.soldTo || item.value?.soldPrice !== 0; }); const soldDetails = computed
(() => {