fix: graphql error notifications
This commit is contained in:
@@ -93,11 +93,7 @@ export default {
|
||||
icon: 'check'
|
||||
})
|
||||
} catch (err) {
|
||||
this.$store.commit('showNotification', {
|
||||
style: 'red',
|
||||
message: err.message,
|
||||
icon: 'warning'
|
||||
})
|
||||
this.$store.commit('pushGraphError', err)
|
||||
}
|
||||
},
|
||||
async deleteGroup() {
|
||||
@@ -119,11 +115,7 @@ export default {
|
||||
})
|
||||
this.$router.replace('/groups')
|
||||
} catch (err) {
|
||||
this.$store.commit('showNotification', {
|
||||
style: 'red',
|
||||
message: err.message,
|
||||
icon: 'warning'
|
||||
})
|
||||
this.$store.commit('pushGraphError', err)
|
||||
}
|
||||
},
|
||||
async refresh() {
|
||||
|
Reference in New Issue
Block a user