mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🎨 Improve recent doc
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
1f571ccd55
commit
c0e947d2ac
1 changed files with 4 additions and 0 deletions
|
|
@ -293,6 +293,10 @@ func updateRecentDocCloseTime(c *gin.Context) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if nil == arg["rootID"] {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
rootID := arg["rootID"].(string)
|
rootID := arg["rootID"].(string)
|
||||||
err := model.UpdateRecentDocCloseTime(rootID)
|
err := model.UpdateRecentDocCloseTime(rootID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue