mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-04 14:41:47 +01:00
This commit is contained in:
parent
ae47483332
commit
e1375fd4f5
6 changed files with 11 additions and 9 deletions
|
|
@ -570,10 +570,9 @@ func ReindexHistory() (err error) {
|
|||
return
|
||||
}
|
||||
|
||||
util.PushMsg(Conf.Language(35), 7*1000)
|
||||
util.PushMsg(Conf.Language(192), 7*1000)
|
||||
sql.InitHistoryDatabase(true)
|
||||
lutEngine := util.NewLute()
|
||||
|
||||
for _, historyDir := range historyDirs {
|
||||
if !historyDir.IsDir() {
|
||||
continue
|
||||
|
|
@ -582,8 +581,6 @@ func ReindexHistory() (err error) {
|
|||
name := historyDir.Name()
|
||||
indexHistoryDir(name, lutEngine)
|
||||
}
|
||||
|
||||
util.ReloadUI()
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue