Skip to content

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

:art: Import md progress

Daniel3f62aea1e9d4
diff --git a/kernel/model/import.go b/kernel/model/import.go
index 938cf00e98..5552f3e9d9 100644
--- a/kernel/model/import.go
+++ b/kernel/model/import.go
@@ -899,6 +899,7 @@ func ImportFromLocalPath(boxID, localPath string, toPath string) (err error) {
util.PushEndlessProgress(fmt.Sprintf(Conf.Language(66), fmt.Sprintf("%d/%d ", i, len(importTrees))+tree.HPath))
}
}
+ util.PushClearProgress()
importTrees = []*parse.Tree{}
searchLinks = map[string]string{}