mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-04 08:40:28 +00:00
Fixed Missing links and missed named template
This commit is contained in:
parent
c78f10ba5d
commit
72768d4e50
1 changed files with 24 additions and 19 deletions
|
@ -83,6 +83,11 @@
|
|||
|
||||
<BaseCard v-if="breakpoints.lg">
|
||||
<Table :headers="itemTable.headers" :data="itemTable.items">
|
||||
<template #cell-name="{ item }">
|
||||
<NuxtLink :to="`/item/${item.id}`">
|
||||
{{ item.name }}
|
||||
</NuxtLink>
|
||||
</template>
|
||||
<template #cell-warranty="{ item }">
|
||||
<Icon v-if="item.warranty" name="mdi-check" class="text-green-500 h-5 w-5" />
|
||||
<Icon v-else name="mdi-close" class="text-red-500 h-5 w-5" />
|
||||
|
@ -90,7 +95,7 @@
|
|||
<template #cell-purchasePrice="{ item }">
|
||||
<Currency :amount="item.purchasePrice" />
|
||||
</template>
|
||||
<template #cell-location_Name="{ item }">
|
||||
<template #cell-location_name="{ item }">
|
||||
<NuxtLink class="badge badge-sm badge-primary p-3" :to="`/location/${item.location.id}`">
|
||||
{{ item.location?.name }}
|
||||
</NuxtLink>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue