♻️ Refactor push reload filetree, tag and protyle

This commit is contained in:
Daniel 2025-04-14 22:03:31 +08:00
parent ebb74238c9
commit 246efd5938
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
7 changed files with 19 additions and 7 deletions

View file

@ -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()