mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 00:20:12 +01:00
🚨
This commit is contained in:
parent
c8b05a6b96
commit
ac8748d161
13 changed files with 36 additions and 36 deletions
|
|
@ -176,7 +176,7 @@ const setSync = (key?: string, dialog?: Dialog) => {
|
|||
});
|
||||
btnElement.addEventListener("click", () => {
|
||||
dialog.destroy();
|
||||
fetchPost("/api/sync/setSyncEnable", {enabled: true}, (response) => {
|
||||
fetchPost("/api/sync/setSyncEnable", {enabled: true}, () => {
|
||||
window.siyuan.config.sync.enabled = true;
|
||||
processSync();
|
||||
confirmDialog(window.siyuan.languages.syncConfGuide4, window.siyuan.languages.syncConfGuide5, () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue