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",
label: "Purchased Price",
label: "Purchase Price",
ref: "purchasePrice",
},
{
type: "date",
label: "Purchased At",
label: "Purchase Date",
ref: "purchaseTime",
},
];

View file

@ -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>