mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Refresh the doc tree after data sync generates conflicting documents https://github.com/siyuan-note/siyuan/issues/11137
This commit is contained in:
parent
4ce87c7eb8
commit
d88731712d
2 changed files with 9 additions and 2 deletions
|
|
@ -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"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue