🎨 Support setting automatic sync interval https://github.com/siyuan-note/siyuan/issues/13448
This commit is contained in:
parent
775efe6a8e
commit
967b8993ef
1 changed files with 1 additions and 1 deletions
|
@ -451,7 +451,7 @@ export const repos = {
|
|||
if (43200 < interval) {
|
||||
interval = 43200;
|
||||
}
|
||||
|
||||
syncIntervalElement.value = interval.toString();
|
||||
fetchPost("/api/sync/setSyncInterval", {interval: interval}, () => {
|
||||
window.siyuan.config.sync.interval = interval;
|
||||
processSync();
|
||||
|
|
Loading…
Add table
Reference in a new issue