Add history + more components
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user