|
|
@ -29,6 +29,11 @@ |
|
|
|
filled |
|
|
|
/> |
|
|
|
</template> |
|
|
|
<template #[`item.isConfirmed`]="{ item }"> |
|
|
|
<v-chip :color="item.isConfirmed ? 'success' : 'warning'" text small> |
|
|
|
{{ item.isConfirmed ? 'Finished' : 'In progress' }} |
|
|
|
</v-chip> |
|
|
|
</template> |
|
|
|
<template #[`item.text`]="{ item }"> |
|
|
|
<span class="d-flex d-sm-none">{{ item.text | truncate(50) }}</span> |
|
|
|
<span class="d-none d-sm-flex">{{ item.text | truncate(200) }}</span> |
|
|
@ -93,6 +98,11 @@ export default Vue.extend({ |
|
|
|
value: 'id', |
|
|
|
sortable: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
text: 'Status', |
|
|
|
value: 'isConfirmed', |
|
|
|
sortable: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
text: this.$t('dataset.text'), |
|
|
|
value: 'text', |
|
|
|