|
|
@ -204,6 +204,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
async save() {
|
|
|
|
async save() {
|
|
|
|
this.$store.commit(`loadingStart`, 'admin-auth-savestrategies')
|
|
|
|
this.$store.commit(`loadingStart`, 'admin-auth-savestrategies')
|
|
|
|
|
|
|
|
try {
|
|
|
|
await this.$apollo.mutate({
|
|
|
|
await this.$apollo.mutate({
|
|
|
|
mutation: strategiesSaveMutation,
|
|
|
|
mutation: strategiesSaveMutation,
|
|
|
|
variables: {
|
|
|
|
variables: {
|
|
|
@ -227,6 +228,9 @@ export default {
|
|
|
|
style: 'success',
|
|
|
|
style: 'success',
|
|
|
|
icon: 'check'
|
|
|
|
icon: 'check'
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
} catch (err) {
|
|
|
|
|
|
|
|
this.$store.commit('pushGraphError', err)
|
|
|
|
|
|
|
|
}
|
|
|
|
this.$store.commit(`loadingStop`, 'admin-auth-savestrategies')
|
|
|
|
this.$store.commit(`loadingStop`, 'admin-auth-savestrategies')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|