Restructure components
This commit is contained in:
parent
87b7f6de15
commit
fc4b9d439b
57 changed files with 89 additions and 88 deletions
17
src/components/tasks/partials/date-table-cell.vue
Normal file
17
src/components/tasks/partials/date-table-cell.vue
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<template>
|
||||
<td v-tooltip="+date === 0 ? '' : formatDate(date)">
|
||||
{{ +date === 0 ? '-' : formatDateSince(date) }}
|
||||
</td>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'date-table-cell',
|
||||
props: {
|
||||
date: {
|
||||
type: Date,
|
||||
default: 0,
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
Reference in a new issue