mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve file history generation https://github.com/siyuan-note/siyuan/issues/16501
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
c917626d47
commit
364b253082
2 changed files with 3 additions and 2 deletions
|
|
@ -326,6 +326,7 @@ func setEditor(c *gin.Context) {
|
|||
model.Conf.Save()
|
||||
|
||||
if oldGenerateHistoryInterval != model.Conf.Editor.GenerateHistoryInterval {
|
||||
model.GenerateFileHistory()
|
||||
model.ChangeHistoryTick(editor.GenerateHistoryInterval)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue