Skip to content

Commit

Permalink
fix: minor things
Browse files Browse the repository at this point in the history
  • Loading branch information
tankerkiller125 committed Oct 19, 2024
1 parent 77246ca commit 3eb5ece
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/pages/item/[id]/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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<Details>(() => {
Expand Down Expand Up @@ -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<Details>(() => {
Expand Down

0 comments on commit 3eb5ece

Please sign in to comment.