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
Signed by untrusted user: konrad
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) {