mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Frontend mutation call remove language
This commit is contained in:
parent
68064a9797
commit
5a960a6e27
@ -41,9 +41,6 @@ export default {
|
|||||||
this.$apollo
|
this.$apollo
|
||||||
.mutate({
|
.mutate({
|
||||||
mutation: this.newsletterState ? subscribeNewsletter : unsubscribeNewsletter,
|
mutation: this.newsletterState ? subscribeNewsletter : unsubscribeNewsletter,
|
||||||
variables: {
|
|
||||||
language: this.newsletterState ? this.$store.state.language : undefined,
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.$store.commit('newsletterState', this.newsletterState)
|
this.$store.commit('newsletterState', this.newsletterState)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user