From 5236d6a2ed490b91e67688a5e1b59e1a2a5c881e Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Tue, 21 Dec 2021 14:15:01 +0100 Subject: [PATCH] Fix another e2e test --- client/src/pages/license-activation.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/client/src/pages/license-activation.vue b/client/src/pages/license-activation.vue index bb492530..46e0e147 100644 --- a/client/src/pages/license-activation.vue +++ b/client/src/pages/license-activation.vue @@ -99,14 +99,13 @@ couponCode: this.coupon, }, }, - update( + update: ( store, { data: {coupon}, }, - ) { + ) => { if (coupon.success) { - this.loading = false; this.couponErrors = []; this.$apollo.query({ query: ME_QUERY, @@ -115,7 +114,6 @@ } }, }).catch(({message}) => { - this.loading = false; if (message.indexOf('invalid_coupon') > -1) { this.couponErrors = ['Der angegebene Coupon-Code ist ungültig.']; } else {