mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-20 18:54:13 +00:00
fix(due date): update value correctly, fixes #10405
This commit is contained in:
parent
e6cf7564b8
commit
6e7b9f1f93
1 changed files with 2 additions and 1 deletions
|
|
@ -622,7 +622,8 @@ export default {
|
|||
this.$t('today') :
|
||||
this.timeTillDue.humanize(true);
|
||||
|
||||
return this.$t('dueIn', { dueIn });
|
||||
// this.task && is necessary to make sure the computed property updates correctly
|
||||
return this.task && this.task.date && this.$t('dueIn', { dueIn });
|
||||
},
|
||||
hasTags () {
|
||||
return this.task.tags && this.task.tags.length > 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue