diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2020-12-11 21:16:20 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-11 21:16:20 +0900 |
| commit | 69c3c4e3dc71c722f9d85c4d2d6a112b6ce85296 (patch) | |
| tree | 276f2dfa111772f8a2be5c5cabea2a4085d0c6a3 /src/client | |
| parent | Merge pull request #6960 from syuilo/dependabot/npm_and_yarn/ws-7.4.1 (diff) | |
| download | misskey-69c3c4e3dc71c722f9d85c4d2d6a112b6ce85296.tar.gz misskey-69c3c4e3dc71c722f9d85c4d2d6a112b6ce85296.tar.bz2 misskey-69c3c4e3dc71c722f9d85c4d2d6a112b6ce85296.zip | |
Resolve #6806 (#6935)
* :v:
* :v:
* Update privacy.vue
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/pages/settings/privacy.vue | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/pages/settings/privacy.vue b/src/client/pages/settings/privacy.vue index 09db077502..d5242a5f51 100644 --- a/src/client/pages/settings/privacy.vue +++ b/src/client/pages/settings/privacy.vue @@ -9,6 +9,10 @@ {{ $t('noCrawle') }} <template #desc>{{ $t('noCrawleDescription') }}</template> </FormSwitch> + <FormSwitch v-model:value="isExplorable" @update:value="save()"> + {{ $t('makeExplorable') }} + <template #desc>{{ $t('makeExplorableDescription') }}</template> + </FormSwitch> <FormSwitch v-model:value="rememberNoteVisibility" @update:value="save()">{{ $t('rememberNoteVisibility') }}</FormSwitch> <FormGroup v-if="!rememberNoteVisibility"> <template #label>{{ $t('defaultNoteVisibility') }}</template> @@ -51,6 +55,7 @@ export default defineComponent({ isLocked: false, autoAcceptFollowed: false, noCrawle: false, + isExplorable: false, } }, @@ -75,6 +80,7 @@ export default defineComponent({ this.isLocked = this.$store.state.i.isLocked; this.autoAcceptFollowed = this.$store.state.i.autoAcceptFollowed; this.noCrawle = this.$store.state.i.noCrawle; + this.isExplorable = this.$store.state.i.isExplorable; }, mounted() { @@ -87,6 +93,7 @@ export default defineComponent({ isLocked: !!this.isLocked, autoAcceptFollowed: !!this.autoAcceptFollowed, noCrawle: !!this.noCrawle, + isExplorable: !!this.isExplorable, }); } } |