WIP: feat: add default reminder for tasks with a due date #2360
|
@ -697,6 +697,9 @@ export default defineComponent({
|
|||
}
|
||||
|
||||
this.task = await this.$store.dispatch('tasks/update', task)
|
||||
|
||||
// Activate new fields which may have been set from the api
|
||||
this.$nextTick(() => this.setActiveFields())
|
||||
|
||||
|
||||
if (!showNotification) {
|
||||
return
|
||||
|
|
Reference in New Issue
Block a user
I don't understand why the nextTick is necessary here.
The comment is wrong but the tick is required to make sure the maybe newly set reminder would be shown in the task detail view as well. I'll clarify the comment.