fix MkUserSetupDialog.Privacy.vue

This commit is contained in:
syuilo 2023-05-11 21:24:27 +09:00 committed by GitHub
parent 1cc106b8de
commit 8ddae83c40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@ let hideOnlineStatus = ref(false);
let noCrawle = ref(false);
let preventAiLearning = ref(true);
watch(isLocked, () => {
os.apiWithDialog('i/update', {
watch([isLocked, hideOnlineStatus, noCrawle, preventAiLearning], () => {
os.api('i/update', {
isLocked: !!isLocked.value,
hideOnlineStatus: !!hideOnlineStatus.value,
noCrawle: !!noCrawle.value,