mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 Automatic refresh of document tree information https://github.com/siyuan-note/siyuan/issues/11043
This commit is contained in:
parent
3fde9bb690
commit
d35386d79d
6 changed files with 63 additions and 9 deletions
|
|
@ -179,7 +179,7 @@ func index(boxID string) {
|
|||
updated := util.TimeFromID(tree.Root.ID)
|
||||
tree.Root.SetIALAttr("updated", updated)
|
||||
docIAL["updated"] = updated
|
||||
if writeErr := filesys.WriteTree(tree); nil != writeErr {
|
||||
if _, writeErr := filesys.WriteTree(tree); nil != writeErr {
|
||||
logging.LogErrorf("write tree [%s] failed: %s", tree.Path, writeErr)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue