fix: consistency changes to item pages (#82)

Changes to the item index.vue and edit.vue pages to resolve spelling differences between the two
This commit is contained in:
Motordom 2022-10-15 16:03:46 +11:00 committed by GitHub
parent 5adb8fbad7
commit 50bd2ab86e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -118,12 +118,12 @@
}, },
{ {
type: "text", type: "text",
label: "Purchased Price", label: "Purchase Price",
ref: "purchasePrice", ref: "purchasePrice",
}, },
{ {
type: "date", type: "date",
label: "Purchased At", label: "Purchase Date",
ref: "purchaseTime", ref: "purchaseTime",
}, },
]; ];

View file

@ -183,7 +183,7 @@
const purchaseDetails = computed<Array<Detail | DateDetail>>(() => { const purchaseDetails = computed<Array<Detail | DateDetail>>(() => {
return [ return [
{ {
name: "Purchase From", name: "Purchased From",
text: item.value?.purchaseFrom || "", text: item.value?.purchaseFrom || "",
}, },
{ {
@ -325,17 +325,17 @@
</BaseCard> </BaseCard>
<BaseCard v-if="showPurchase"> <BaseCard v-if="showPurchase">
<template #title> Purchase </template> <template #title> Purchase Details </template>
<DetailsSection :details="purchaseDetails" /> <DetailsSection :details="purchaseDetails" />
</BaseCard> </BaseCard>
<BaseCard v-if="showWarranty"> <BaseCard v-if="showWarranty">
<template #title> Warranty </template> <template #title> Warranty Details </template>
<DetailsSection :details="warrantyDetails" /> <DetailsSection :details="warrantyDetails" />
</BaseCard> </BaseCard>
<BaseCard v-if="showSold"> <BaseCard v-if="showSold">
<template #title> Sold </template> <template #title> Sold Details </template>
<DetailsSection :details="soldDetails" /> <DetailsSection :details="soldDetails" />
</BaseCard> </BaseCard>
</div> </div>