mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-26 02:25:41 +00:00
remove date from cards
This commit is contained in:
parent
824a1d0bc4
commit
9f0b09be52
1 changed files with 2 additions and 9 deletions
|
@ -13,16 +13,13 @@
|
|||
</span>
|
||||
</NuxtLink>
|
||||
</div>
|
||||
<div class="rounded-b p-4 flex-grow col-span-4 flex flex-col gap-y-2 bg-base-100">
|
||||
<div class="rounded-b p-4 pt-2 flex-grow col-span-4 flex flex-col gap-y-2 bg-base-100">
|
||||
<div class="flex justify-between gap-2">
|
||||
<div class="mr-auto tooltip" data-tip="Purchase Price">
|
||||
<div class="mr-auto tooltip tooltip-tip" data-tip="Purchase Price">
|
||||
<span class="badge badge-sm badge-ghost h-5">
|
||||
<Currency :amount="item.purchasePrice" />
|
||||
</span>
|
||||
</div>
|
||||
<div v-if="item.createdAt" class="tooltip z-10" :data-tip="datetime">
|
||||
<Icon class="h-5 w-5 text-primary" name="mdi-calendar" />
|
||||
</div>
|
||||
<div v-if="item.insured" class="tooltip z-10" data-tip="Insured">
|
||||
<Icon class="h-5 w-5 text-primary" name="mdi-shield-check" />
|
||||
</div>
|
||||
|
@ -50,10 +47,6 @@
|
|||
return props.item.labels.slice(0, 3) || [];
|
||||
});
|
||||
|
||||
const datetime = computed(() => {
|
||||
return "Created " + fmtDate(props.item.createdAt, "human");
|
||||
});
|
||||
|
||||
const props = defineProps({
|
||||
item: {
|
||||
type: Object as () => ItemOut | ItemSummary,
|
||||
|
|
Loading…
Reference in a new issue