From 967b8993efb7f7413cf018de9905c0e2fb2af548 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 14 Dec 2024 12:08:21 +0800 Subject: [PATCH] :art: Support setting automatic sync interval https://github.com/siyuan-note/siyuan/issues/13448 --- app/src/config/repos.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/config/repos.ts b/app/src/config/repos.ts index 5b717fa5d..af9bd6bde 100644 --- a/app/src/config/repos.ts +++ b/app/src/config/repos.ts @@ -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();