Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

fix: consistency changes to item pages (#82)

Motordom50bd2ab86e98
diff --git a/frontend/pages/item/[id]/edit.vue b/frontend/pages/item/[id]/edit.vue
index 8ffcba69..3a58e612 100644
--- a/frontend/pages/item/[id]/edit.vue
+++ b/frontend/pages/item/[id]/edit.vue
@@ -118,12 +118,12 @@
},
{
type: "text",
- label: "Purchased Price",
+ label: "Purchase Price",
ref: "purchasePrice",
},
{
type: "date",
- label: "Purchased At",
+ label: "Purchase Date",
ref: "purchaseTime",
},
];
diff --git a/frontend/pages/item/[id]/index.vue b/frontend/pages/item/[id]/index.vue
index 5c9c9387..be422034 100644
--- a/frontend/pages/item/[id]/index.vue
+++ b/frontend/pages/item/[id]/index.vue
@@ -183,7 +183,7 @@
const purchaseDetails = computed<Array<Detail | DateDetail>>(() => {
return [
{
- name: "Purchase From",
+ name: "Purchased From",
text: item.value?.purchaseFrom || "",
},
{
@@ -325,17 +325,17 @@
</BaseCard>
<BaseCard v-if="showPurchase">
- <template #title> Purchase </template>
+ <template #title> Purchase Details </template>
<DetailsSection :details="purchaseDetails" />
</BaseCard>
<BaseCard v-if="showWarranty">
- <template #title> Warranty </template>
+ <template #title> Warranty Details </template>
<DetailsSection :details="warrantyDetails" />
</BaseCard>
<BaseCard v-if="showSold">
- <template #title> Sold </template>
+ <template #title> Sold Details </template>
<DetailsSection :details="soldDetails" />
</BaseCard>
</div>