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

@ -39,6 +39,7 @@ export default class TaskService extends AbstractService {
model.endDate = !model.endDate ? null : formatISO(new Date(model.endDate))
model.created = formatISO(new Date(model.created))
model.updated = formatISO(new Date(model.updated))
model.doneAt = formatISO(new Date(model.doneAt))
// remove all nulls, these would create empty reminders
for (const index in model.reminderDates) {