fix: graphql error notifications

This commit is contained in:
Nicolas Giard
2019-01-12 22:33:30 -05:00
parent 7e62c01ed1
commit 959f2ebde1
9 changed files with 42 additions and 58 deletions

View File

@@ -180,11 +180,7 @@ export default {
icon: 'check'
})
} catch (err) {
this.$store.commit('showNotification', {
style: 'red',
message: err.message,
icon: 'warning'
})
this.$store.commit('pushGraphError', err)
}
}
},