Cleaned store mutations and actions
This commit is contained in:
parent
363dfa87a3
commit
a5c8b3cc4e
2 changed files with 23 additions and 37 deletions
|
|
@ -65,7 +65,7 @@ Vue.mixin({
|
|||
errormsg = `${error.message}`
|
||||
console.log(errormsg)
|
||||
}
|
||||
this.$store.dispatch('errorState', errormsg);
|
||||
this.$store.commit('setError', errormsg);
|
||||
UIkit.notification({message: `<span uk-icon=\'icon: warning\'></span> ${errormsg}`, status: 'danger'})
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue