mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
♻️ Refactor push reload filetree, tag and protyle
This commit is contained in:
parent
ebb74238c9
commit
246efd5938
7 changed files with 19 additions and 7 deletions
|
|
@ -318,8 +318,8 @@ func RollbackDocHistory(boxID, historyPath string) (err error) {
|
|||
if writeErr := indexWriteTreeIndexQueue(tree); nil != writeErr {
|
||||
return
|
||||
}
|
||||
util.PushReloadFiletree()
|
||||
util.PushReloadProtyle(rootID)
|
||||
ReloadFiletree()
|
||||
ReloadProtyle(rootID)
|
||||
util.PushMsg(Conf.Language(102), 3000)
|
||||
|
||||
IncSync()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue