🎨 Reset doc browsing position after data snapshot rollback https://github.com/siyuan-note/siyuan/issues/8231

This commit is contained in:
Liang Ding 2023-05-11 11:43:17 +08:00
parent 8f2144b9df
commit 7a68c8ad1b
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 10 additions and 1 deletions

View file

@ -567,7 +567,9 @@ func checkoutRepo(id string) {
return
}
FullReindex()
task.AppendTask(task.DatabaseIndexFull, fullReindex)
task.AppendTask(task.DatabaseIndexRef, IndexRefs)
task.AppendTask(task.ReloadUI, util.ReloadUIResetScroll)
if syncEnabled {
func() {