From dfd991a6c6d2c702718e22c707c2f6ccd1cff77e Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 4 Jul 2019 21:08:47 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88=E3=83=A1=E3=83=BC?= =?UTF-8?q?=E3=83=AB=E3=81=AF=E7=AE=A1=E7=90=86=E8=80=85=E3=82=A2=E3=83=89?= =?UTF-8?q?=E3=83=AC=E3=82=B9=E3=81=AB=E9=80=81=E4=BF=A1=E3=81=99=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/ja-JP.yml | 1 - src/client/app/admin/views/instance.vue | 10 +--------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 6040be0450..15cb30997b 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1390,7 +1390,6 @@ admin/views/instance.vue: smtp-user: "SMTPユーザー" smtp-pass: "SMTPパスワード" test-email: "テスト" - test-email-to: "テストメールの送信先アドレス" serviceworker-config: "ServiceWorker" enable-serviceworker: "ServiceWorkerを有効にする" serviceworker-info: "プッシュ通知を行うには有効する必要があります。" diff --git a/src/client/app/admin/views/instance.vue b/src/client/app/admin/views/instance.vue index 7d271bcb89..2d0fc9b40c 100644 --- a/src/client/app/admin/views/instance.vue +++ b/src/client/app/admin/views/instance.vue @@ -426,16 +426,8 @@ export default Vue.extend({ }, async testEmail() { - const { canceled, result: to } = await this.$root.dialog({ - title: this.$t('test-email-to'), - input: { - type: 'email', - }, - showCancelButton: true - }); - if (canceled) return; this.$root.api('admin/send-email', { - to: to, + to: this.maintainerEmail, subject: 'Test email', text: 'Yo' }).then(x => {