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
@@ -75,7 +75,7 @@ export default {
|
||||
const { mastertasks, subtasks, teams} = await this.$axios.get_auth(`v1/search?q=${search}`)
|
||||
this.searchResults = {mastertasks: mastertasks.data, subtasks: subtasks.data, teams: teams.data}
|
||||
} catch (error) {
|
||||
this.$toast.error(error)
|
||||
this.$toast.error(this.$parseError(error))
|
||||
this.searchResults = {error}
|
||||
}
|
||||
}, 300)
|
||||
|
||||
Reference in new issue
Block a user