|
@ -29,6 +29,11 @@ |
|
|
filled |
|
|
filled |
|
|
/> |
|
|
/> |
|
|
</template> |
|
|
</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 }"> |
|
|
<template #[`item.text`]="{ item }"> |
|
|
<span class="d-flex d-sm-none">{{ item.text | truncate(50) }}</span> |
|
|
<span class="d-flex d-sm-none">{{ item.text | truncate(50) }}</span> |
|
|
<span class="d-none d-sm-flex">{{ item.text | truncate(200) }}</span> |
|
|
<span class="d-none d-sm-flex">{{ item.text | truncate(200) }}</span> |
|
@ -93,6 +98,11 @@ export default Vue.extend({ |
|
|
value: 'id', |
|
|
value: 'id', |
|
|
sortable: false |
|
|
sortable: false |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
text: 'Status', |
|
|
|
|
|
value: 'isConfirmed', |
|
|
|
|
|
sortable: false |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
text: this.$t('dataset.text'), |
|
|
text: this.$t('dataset.text'), |
|
|
value: 'text', |
|
|
value: 'text', |
|
|