mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
[toast] adding parsing function
This commit is contained in:
1 parent
f5f787b5fe
commit
f40065ffd1
18 files changed
+21
-21
No files matched your search
@@ -238,7 +238,7 @@ export default {
|
||||
this.editMode = editMode || !this.subtask.id
|
||||
} catch (error) {
|
||||
console.error('ERROR', error)
|
||||
this.$toast.error(error)
|
||||
this.$toast.error(this.$parseError(error))
|
||||
}
|
||||
},
|
||||
|
||||
@@ -288,7 +288,7 @@ export default {
|
||||
|
||||
this.closeModal()
|
||||
} catch (error) {
|
||||
this.$toast.error(error)
|
||||
this.$toast.error(this.$parseError(error))
|
||||
} finally {
|
||||
this.isSaving = false
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user