Cleaned store mutations and actions

This commit is contained in:
Joel Collins 2019-05-10 09:58:01 +01:00
parent 363dfa87a3
commit a5c8b3cc4e
2 changed files with 23 additions and 37 deletions

View file

@ -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'})
},