Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: The interface is no longer reloaded after data synchronization https://github.com/siyuan-note/siyuan/issues/8098

Liang Dingcc5d0901b811
diff --git a/kernel/model/sync.go b/kernel/model/sync.go
index 3719c372a0..58caa6fccb 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)