-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit is fixing the error notification when creating a task. This is a fix for issue #98
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -143,7 +143,7 @@ export default { | |
this.task.domain = "CROP" | ||
this.submitTask(this.task) | ||
.then(() => this.$parent.$emit('close')) | ||
.catch(() => this.$toasted.error('Error in task submission')) | ||
.catch(() => this.$toasted.error('Task due date cannot be earlier than the current date.')) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
bepitulaz
Author
Member
|
||
}, | ||
openPicker () { | ||
this.$refs.openCal.showCalendar() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I am not familiar with the code. But this looks like: Catch them all. What, if there is another error?