From ba27d2189d155cf019f885bf3577f8b597327f97 Mon Sep 17 00:00:00 2001 From: roschaefer Date: Thu, 10 Oct 2019 19:37:57 +0200 Subject: [PATCH] Remove obsolete code --- webapp/pages/settings/embeds.vue | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/webapp/pages/settings/embeds.vue b/webapp/pages/settings/embeds.vue index 5ba1af556..7b85295c0 100644 --- a/webapp/pages/settings/embeds.vue +++ b/webapp/pages/settings/embeds.vue @@ -11,10 +11,10 @@ {{ $t('settings.embeds.status.change.question') }} - + {{ $t('settings.embeds.status.change.deny') }} - + {{ $t('settings.embeds.status.change.allow') }} @@ -47,8 +47,6 @@ export default { }, data() { return { - allowEmbeds_h3: this.$t('settings.embeds.false'), - allowEmbeds_desc: this.$t('settings.embeds.third-party-false'), disabled: null, providers: [], } @@ -63,16 +61,6 @@ export default { ...mapMutations({ setCurrentUser: 'auth/SET_USER', }), - toFalse() { - this.allowEmbeds_h3 = this.$t('settings.embeds.false') - this.allowEmbeds_desc = this.$t('settings.embeds.third-party-false') - this.submit() - }, - toTrue() { - this.allowEmbeds_h3 = this.$t('settings.embeds.true') - this.allowEmbeds_desc = this.$t('settings.embeds.third-party-true') - this.submit() - }, async submit() { try { await this.$apollo.mutate({