From b2a35c323d9ce32ffc1d7d0a20f227b6db0abf1b Mon Sep 17 00:00:00 2001 From: Hironsan Date: Thu, 17 Mar 2022 14:22:57 +0900 Subject: [PATCH] Show id in database page, resolve #1604 --- frontend/components/example/AudioList.vue | 5 +++++ frontend/components/example/DocumentList.vue | 5 +++++ frontend/components/example/ImageList.vue | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/frontend/components/example/AudioList.vue b/frontend/components/example/AudioList.vue index 58bb3585..95dedc95 100644 --- a/frontend/components/example/AudioList.vue +++ b/frontend/components/example/AudioList.vue @@ -98,6 +98,11 @@ export default Vue.extend({ computed: { headers() { return [ + { + text: 'ID', + value: 'id', + sortable: false + }, { text: 'Audio', value: 'url', diff --git a/frontend/components/example/DocumentList.vue b/frontend/components/example/DocumentList.vue index 0ccf3557..fd7c3aff 100644 --- a/frontend/components/example/DocumentList.vue +++ b/frontend/components/example/DocumentList.vue @@ -92,6 +92,11 @@ export default Vue.extend({ computed: { headers() { return [ + { + text: 'ID', + value: 'id', + sortable: false + }, { text: this.$t('dataset.text'), value: 'text', diff --git a/frontend/components/example/ImageList.vue b/frontend/components/example/ImageList.vue index 59ebe1df..dc88ea4a 100644 --- a/frontend/components/example/ImageList.vue +++ b/frontend/components/example/ImageList.vue @@ -98,6 +98,11 @@ export default Vue.extend({ computed: { headers() { return [ + { + text: 'ID', + value: 'id', + sortable: false + }, { text: 'Image', value: 'url',