From cc5d0901b81110d7309ea2eb7f7848296bef3020 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 25 Apr 2023 19:39:46 +0800 Subject: [PATCH] :art: The interface is no longer reloaded after data synchronization https://github.com/siyuan-note/siyuan/issues/8098 --- kernel/model/sync.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/model/sync.go b/kernel/model/sync.go index 3719c372a..58caa6fcc 100644 --- a/kernel/model/sync.go +++ b/kernel/model/sync.go @@ -261,6 +261,9 @@ func checkSync(boot, exit, byHand bool) bool { // incReindex 增量重建索引。 func incReindex(upserts, removes []string) (upsertRootIDs, removeRootIDs []string) { + upsertRootIDs = []string{} + removeRootIDs = []string{} + util.IncBootProgress(3, "Sync reindexing...") msg := fmt.Sprintf(Conf.Language(35)) util.PushStatusBar(msg)