1
0

Show done at in task detail view

This commit is contained in:
kolaente
2020-11-28 15:52:15 +01:00
parent 25bd9d17f9
commit 3f2056bbf9
3 changed files with 13 additions and 0 deletions

View File

@ -317,6 +317,10 @@
<!-- Computed properties to show the actual date every time it gets updated -->
Updated <span v-tooltip="updatedFormatted">{{ updatedSince }}</span>
</template>
<template v-if="task.done">
<br/>
Done <span v-tooltip="doneFormatted">{{ doneSince }}</span>
</template>
</p>
</div>
</div>
@ -462,6 +466,12 @@ export default {
updatedFormatted() {
return this.formatDate(this.task.updated)
},
doneSince() {
return this.formatDateSince(this.task.doneAt)
},
doneFormatted() {
return this.formatDate(this.task.doneAt)
},
},
methods: {
loadTask() {