diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-11-29 20:33:31 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-11-29 20:33:31 +0900 |
| commit | cf9f85eb2a9d3bf3253fd104658eae65f0667a5c (patch) | |
| tree | 23ad9b684398ff2fedc66ff058a7c1eef8836782 /src/client/app | |
| parent | Make require password to update email (diff) | |
| download | misskey-cf9f85eb2a9d3bf3253fd104658eae65f0667a5c.tar.gz misskey-cf9f85eb2a9d3bf3253fd104658eae65f0667a5c.tar.bz2 misskey-cf9f85eb2a9d3bf3253fd104658eae65f0667a5c.zip | |
メールサーバーの設定がオフの場合はメール設定を表示しないように
Diffstat (limited to 'src/client/app')
| -rw-r--r-- | src/client/app/common/views/components/profile-editor.vue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/app/common/views/components/profile-editor.vue b/src/client/app/common/views/components/profile-editor.vue index 62d5d7a29c..d5ba58ca75 100644 --- a/src/client/app/common/views/components/profile-editor.vue +++ b/src/client/app/common/views/components/profile-editor.vue @@ -67,7 +67,7 @@ </div> </section> - <section> + <section v-if="enableEmail"> <header>{{ $t('email') }}</header> <div> @@ -94,6 +94,7 @@ export default Vue.extend({ data() { return { host: toUnicode(host), + enableEmail: false, email: null, name: null, username: null, @@ -128,6 +129,9 @@ export default Vue.extend({ }, created() { + this.$root.getMeta().then(meta => { + this.enableEmail = meta.enableEmail; + }); this.email = this.$store.state.i.email; this.name = this.$store.state.i.name; this.username = this.$store.state.i.username; |