🎨 Refresh the editor after rolling back the document https://github.com/siyuan-note/siyuan/issues/12397

This commit is contained in:
Daniel
2024-09-05 15:48:20 +08:00
parent 9560277d0c
commit f18be1d084

View File

@@ -284,6 +284,7 @@ func RollbackDocHistory(boxID, historyPath string) (err error) {
sql.RemoveTreeQueue(id)
sql.IndexTreeQueue(tree)
util.PushReloadFiletree()
util.PushProtyleReload(id)
util.PushMsg(Conf.Language(102), 3000)
IncSync()