From 346336c58886f83294b93a1c40c85b78a5278954 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 6 Jul 2022 21:12:24 +0800 Subject: [PATCH] :art: Improve cloud sync --- app/src/config/repos.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/config/repos.ts b/app/src/config/repos.ts index 796c54151..8bb14818a 100644 --- a/app/src/config/repos.ts +++ b/app/src/config/repos.ts @@ -258,8 +258,8 @@ const setE2eePassword = () => { }; const needPassword = () => { - if (window.siyuan.config.e2eePasswd === "") { - confirmDialog(window.siyuan.languages.config, window.siyuan.languages["_kernel"]["11"]); + if (window.siyuan.config.e2eePasswd === "" && !window.siyuan.config.sync.useDataRepo) { + confirmDialog(window.siyuan.languages.config, window.siyuan.languages._kernel[11]); return true; } return false;