* ✌️

* ✌️

* Update privacy.vue
This commit is contained in:
syuilo 2020-12-11 21:16:20 +09:00 committed by GitHub
parent 488e6feed9
commit 69c3c4e3dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 52 additions and 4 deletions

View file

@ -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,
});
}
}