upd: remove leftover nsfw ai option

This commit is contained in:
Mar0xy 2023-11-07 19:23:58 +01:00
parent 9cd2759769
commit 04657c14c7
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
3 changed files with 1 additions and 18 deletions

View file

@ -29,10 +29,6 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.noCrawle }}
<template #caption>{{ i18n.ts.noCrawleDescription }}</template>
</MkSwitch>
<MkSwitch v-model="preventAiLearning" @update:modelValue="save()">
{{ i18n.ts.preventAiLearning }}<span class="_beta">{{ i18n.ts.beta }}</span>
<template #caption>{{ i18n.ts.preventAiLearningDescription }}</template>
</MkSwitch>
<MkSwitch v-model="isIndexable" @update:modelValue="save()">
{{ i18n.ts.makeIndexable }}
<template #caption>{{ i18n.ts.makeIndexableDescription }}</template>
@ -84,7 +80,6 @@ import { definePageMetadata } from '@/scripts/page-metadata.js';
let isLocked = $ref($i.isLocked);
let autoAcceptFollowed = $ref($i.autoAcceptFollowed);
let noCrawle = $ref($i.noCrawle);
let preventAiLearning = $ref($i.preventAiLearning);
let isExplorable = $ref($i.isExplorable);
let isIndexable = $ref($i.isIndexable);
let hideOnlineStatus = $ref($i.hideOnlineStatus);
@ -101,7 +96,6 @@ function save() {
isLocked: !!isLocked,
autoAcceptFollowed: !!autoAcceptFollowed,
noCrawle: !!noCrawle,
preventAiLearning: !!preventAiLearning,
isExplorable: !!isExplorable,
isIndexable: !!isIndexable,
hideOnlineStatus: !!hideOnlineStatus,