[toast] adding parsing function

This commit is contained in:
romankko2 committed 2023-11-08 18:13:06 +01:00
1 parent f5f787b5fe
commit f40065ffd1
18 files changed
+21 -21

No files matched your search

+1 -1
View File
@@ -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)