Fix populating task details ater updating the description
This commit is contained in:
parent
187a8f5933
commit
f4a4909ead
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue