upd: completely change handling of indexable

This commit is contained in:
Mar0xy 2023-11-17 15:05:58 +01:00
parent 902e5a81f9
commit 55ef4c4d93
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
12 changed files with 40 additions and 25 deletions

View file

@ -29,7 +29,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.noCrawle }}
<template #caption>{{ i18n.ts.noCrawleDescription }}</template>
</MkSwitch>
<MkSwitch v-model="isIndexable" @update:modelValue="save()">
<MkSwitch v-model="noindex" @update:modelValue="save()">
{{ i18n.ts.makeIndexable }}
<template #caption>{{ i18n.ts.makeIndexableDescription }}</template>
</MkSwitch>
@ -81,7 +81,7 @@ let isLocked = $ref($i.isLocked);
let autoAcceptFollowed = $ref($i.autoAcceptFollowed);
let noCrawle = $ref($i.noCrawle);
let isExplorable = $ref($i.isExplorable);
let isIndexable = $ref($i.isIndexable);
let noindex = $ref($i.noindex);
let hideOnlineStatus = $ref($i.hideOnlineStatus);
let publicReactions = $ref($i.publicReactions);
let ffVisibility = $ref($i.ffVisibility);
@ -97,7 +97,7 @@ function save() {
autoAcceptFollowed: !!autoAcceptFollowed,
noCrawle: !!noCrawle,
isExplorable: !!isExplorable,
isIndexable: !!isIndexable,
noindex: !!noindex,
hideOnlineStatus: !!hideOnlineStatus,
publicReactions: !!publicReactions,
ffVisibility: ffVisibility,