Fix populating task details ater updating the description

This commit is contained in:
kolaente 2021-08-06 23:45:46 +02:00
parent 187a8f5933
commit f4a4909ead
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 4 additions and 3 deletions

View file

@ -78,8 +78,9 @@ export default {
this.saving = true
this.$store.dispatch('tasks/update', this.task)
.then(() => {
this.$emit('input', this.task)
.then(t => {
this.task = t
this.$emit('input', t)
this.saved = true
setTimeout(() => {
this.saved = false

View file

@ -610,7 +610,7 @@ export default {
this.$store.dispatch('tasks/update', this.task)
.then(r => {
this.$set(this, 'task', r)
this.task = r
this.setActiveFields()
if (!showNotification) {