Restructure components

This commit is contained in:
kolaente 2020-06-17 22:15:59 +02:00
parent 87b7f6de15
commit fc4b9d439b
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
57 changed files with 89 additions and 88 deletions

View 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>