🎨 Refresh the doc tree after data sync generates conflicting documents https://github.com/siyuan-note/siyuan/issues/11137

This commit is contained in:
Daniel 2024-04-25 19:14:35 +08:00
parent 4ce87c7eb8
commit d88731712d
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 9 additions and 2 deletions

View file

@ -158,6 +158,10 @@ func PushBackgroundTask(data map[string]interface{}) {
BroadcastByType("main", "backgroundtask", 0, "", data)
}
func PushReloadFiletree() {
BroadcastByType("filetree", "reloadFiletree", 0, "", nil)
}
type BlockStatResult struct {
RuneCount int `json:"runeCount"`
WordCount int `json:"wordCount"`