From 8ddae83c40527939170d769aba9c79ce5a3d9091 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 11 May 2023 21:24:27 +0900 Subject: [PATCH] fix MkUserSetupDialog.Privacy.vue --- .../frontend/src/components/MkUserSetupDialog.Privacy.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue b/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue index 4ed5c3ab007a..5fc6fd4d2f87 100644 --- a/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue +++ b/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue @@ -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,