Don't show a success message if it is obvious the action has been successful

This commit is contained in:
kolaente 2020-06-01 00:12:13 +02:00
parent 25579f5da2
commit 66b73f669b
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -333,8 +333,6 @@
}
}
}
this.success({message: 'The task was successfully updated.'}, this)
})
.catch(e => {
this.error(e, this)
@ -369,7 +367,6 @@
this.tasksWithoutDates.push(this.addGantAttributes(r))
this.newTaskTitle = ''
this.hideCrateNewTask()
this.success({message: 'The task was successfully created.'}, this)
})
.catch(e => {
this.error(e, this)