diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-12-29 03:12:22 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-12-29 03:12:22 +0900 |
| commit | f1a0e95489e46682400ab27dc581ee9094556d1d (patch) | |
| tree | a8cf7a152684e466944c24de81a61d586cb5a60d /src/client/app | |
| parent | Clean up (diff) | |
| download | misskey-f1a0e95489e46682400ab27dc581ee9094556d1d.tar.gz misskey-f1a0e95489e46682400ab27dc581ee9094556d1d.tar.bz2 misskey-f1a0e95489e46682400ab27dc581ee9094556d1d.zip | |
Improve usability
Diffstat (limited to 'src/client/app')
| -rw-r--r-- | src/client/app/common/views/components/profile-editor.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/common/views/components/profile-editor.vue b/src/client/app/common/views/components/profile-editor.vue index 75d14236c2..c883a8b91a 100644 --- a/src/client/app/common/views/components/profile-editor.vue +++ b/src/client/app/common/views/components/profile-editor.vue @@ -69,8 +69,8 @@ <div> <ui-switch v-model="isLocked" @change="save(false)">{{ $t('is-locked') }}</ui-switch> - <ui-switch v-model="carefulBot" @change="save(false)">{{ $t('careful-bot') }}</ui-switch> - <ui-switch v-model="autoAcceptFollowed" @change="save(false)">{{ $t('auto-accept-followed') }}</ui-switch> + <ui-switch v-model="carefulBot" :disabled="isLocked" @change="save(false)">{{ $t('careful-bot') }}</ui-switch> + <ui-switch v-model="autoAcceptFollowed" :disabled="!isLocked && !carefulBot" @change="save(false)">{{ $t('auto-accept-followed') }}</ui-switch> </div> </section> |