Don't show a success message if it is obvious the action has been successful
This commit is contained in:
parent
25579f5da2
commit
66b73f669b
@ -333,8 +333,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.success({message: 'The task was successfully updated.'}, this)
|
|
||||||
})
|
})
|
||||||
.catch(e => {
|
.catch(e => {
|
||||||
this.error(e, this)
|
this.error(e, this)
|
||||||
@ -369,7 +367,6 @@
|
|||||||
this.tasksWithoutDates.push(this.addGantAttributes(r))
|
this.tasksWithoutDates.push(this.addGantAttributes(r))
|
||||||
this.newTaskTitle = ''
|
this.newTaskTitle = ''
|
||||||
this.hideCrateNewTask()
|
this.hideCrateNewTask()
|
||||||
this.success({message: 'The task was successfully created.'}, this)
|
|
||||||
})
|
})
|
||||||
.catch(e => {
|
.catch(e => {
|
||||||
this.error(e, this)
|
this.error(e, this)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user