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 noCrawle = ref(false);
let preventAiLearning = ref(true); let preventAiLearning = ref(true);
watch(isLocked, () => { watch([isLocked, hideOnlineStatus, noCrawle, preventAiLearning], () => {
os.apiWithDialog('i/update', { os.api('i/update', {
isLocked: !!isLocked.value, isLocked: !!isLocked.value,
hideOnlineStatus: !!hideOnlineStatus.value, hideOnlineStatus: !!hideOnlineStatus.value,
noCrawle: !!noCrawle.value, noCrawle: !!noCrawle.value,