mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-12 15:42:34 +01:00
🎨 Improve cloud sync
This commit is contained in:
parent
18e4403ed9
commit
346336c588
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue