From 8ddae83c40527939170d769aba9c79ce5a3d9091 Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Thu, 11 May 2023 21:24:27 +0900
Subject: fix MkUserSetupDialog.Privacy.vue

---
 packages/frontend/src/components/MkUserSetupDialog.Privacy.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'packages/frontend/src/components/MkUserSetupDialog.Privacy.vue')

diff --git a/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue b/packages/frontend/src/components/MkUserSetupDialog.Privacy.vue
index 4ed5c3ab00..5fc6fd4d2f 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,
-- 
cgit v1.2.3-freya

