Add history + more components

This commit is contained in:
2024-10-03 22:29:32 +02:00
parent 8f9c83dc2a
commit d7f0d2a7f2
18 changed files with 352 additions and 30 deletions
@@ -4,9 +4,9 @@
<v-data-table
:headers="citems_headers"
:items="items"
:items-per-page="50"
:search="search"
:group-by="group_by"
:items-per-page="20"
loading
dense>
<template v-slot:top>
@@ -121,8 +121,11 @@
</template>
<template v-slot:item.id="{ item }">
[[ item.id.slice(0, 8) ]]...
<v-btn plain @click="showItem(item)">
[[ item.id.slice(0, 8) ]]...
</v-btn>
</template>
<template v-slot:item.description="{ item }">
<template v-if="item.description && item.description.length > 15">
[[ item.description.slice(0, 15) ]]...
@@ -131,9 +134,11 @@
[[ item.description ]]
</template>
</template>
<template v-slot:item.last_modified_at="{ item }">
[[ formatDate(item.last_modified_at) ]]
</template>
<template v-slot:item.created_at="{ item }">
[[ formatDate(item.created_at) ]]
</template>