diff options
| author | Mar0xy <marie@kaifa.ch> | 2023-11-07 19:23:58 +0100 |
|---|---|---|
| committer | Mar0xy <marie@kaifa.ch> | 2023-11-07 19:23:58 +0100 |
| commit | 04657c14c7316bd69ba93eb37f301d0d36a9432a (patch) | |
| tree | 706be36ac243d89c517f0496af455b3ab15e0cf6 /packages/frontend/src/components/MkUserSetupDialog.Privacy.vue | |
| parent | feat: isIndexable (diff) | |
| download | sharkey-04657c14c7316bd69ba93eb37f301d0d36a9432a.tar.gz sharkey-04657c14c7316bd69ba93eb37f301d0d36a9432a.tar.bz2 sharkey-04657c14c7316bd69ba93eb37f301d0d36a9432a.zip | |
upd: remove leftover nsfw ai option
Diffstat (limited to 'packages/frontend/src/components/MkUserSetupDialog.Privacy.vue')
| -rw-r--r-- | packages/frontend/src/components/MkUserSetupDialog.Privacy.vue | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue b/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue index 07ea6d5849..7401dbddb1 100644 --- a/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue +++ b/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue @@ -31,14 +31,6 @@ SPDX-License-Identifier: AGPL-3.0-only <MkSwitch v-model="noCrawle">{{ i18n.ts.noCrawle }}<template #caption>{{ i18n.ts.noCrawleDescription }}</template></MkSwitch> </MkFolder> - <MkFolder> - <template #label>{{ i18n.ts.preventAiLearning }}</template> - <template #icon><i class="ph-image-square ph-bold ph-lg-shield"></i></template> - <template #suffix>{{ preventAiLearning ? i18n.ts.on : i18n.ts.off }}</template> - - <MkSwitch v-model="preventAiLearning">{{ i18n.ts.preventAiLearning }}<template #caption>{{ i18n.ts.preventAiLearningDescription }}</template></MkSwitch> - </MkFolder> - <MkInfo>{{ i18n.ts._initialAccountSetting.youCanEditMoreSettingsInSettingsPageLater }}</MkInfo> </div> </template> @@ -56,14 +48,12 @@ import { $i } from '@/account.js'; let isLocked = ref(false); let hideOnlineStatus = ref(false); let noCrawle = ref(false); -let preventAiLearning = ref(true); -watch([isLocked, hideOnlineStatus, noCrawle, preventAiLearning], () => { +watch([isLocked, hideOnlineStatus, noCrawle], () => { os.api('i/update', { isLocked: !!isLocked.value, hideOnlineStatus: !!hideOnlineStatus.value, noCrawle: !!noCrawle.value, - preventAiLearning: !!preventAiLearning.value, }); }); </script> |