Browse Source
Merge pull request #1743 from doccano/enhancement/1604
Show id in database page
pull/1744/head
Hiroki Nakayama
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
15 additions and
0 deletions
-
frontend/components/example/AudioList.vue
-
frontend/components/example/DocumentList.vue
-
frontend/components/example/ImageList.vue
|
|
@ -98,6 +98,11 @@ export default Vue.extend({ |
|
|
|
computed: { |
|
|
|
headers() { |
|
|
|
return [ |
|
|
|
{ |
|
|
|
text: 'ID', |
|
|
|
value: 'id', |
|
|
|
sortable: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
text: 'Audio', |
|
|
|
value: 'url', |
|
|
|
|
|
@ -92,6 +92,11 @@ export default Vue.extend({ |
|
|
|
computed: { |
|
|
|
headers() { |
|
|
|
return [ |
|
|
|
{ |
|
|
|
text: 'ID', |
|
|
|
value: 'id', |
|
|
|
sortable: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
text: this.$t('dataset.text'), |
|
|
|
value: 'text', |
|
|
|
|
|
@ -98,6 +98,11 @@ export default Vue.extend({ |
|
|
|
computed: { |
|
|
|
headers() { |
|
|
|
return [ |
|
|
|
{ |
|
|
|
text: 'ID', |
|
|
|
value: 'id', |
|
|
|
sortable: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
text: 'Image', |
|
|
|
value: 'url', |
|
|
|