mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
🎨 Subdocuments created by the database are not displayed in the doc tree https://github.com/siyuan-note/siyuan/issues/9091
This commit is contained in:
parent
764ef40ba1
commit
b8801b220b
2 changed files with 12 additions and 2 deletions
|
|
@ -380,6 +380,11 @@ func isSkipFile(filename string) bool {
|
|||
|
||||
func moveTree(tree *parse.Tree) {
|
||||
treenode.SetBlockTreePath(tree)
|
||||
|
||||
if hidden := tree.Root.IALAttr("custom-hidden"); "true" == hidden {
|
||||
tree.Root.RemoveIALAttr("custom-hidden")
|
||||
filesys.WriteTree(tree)
|
||||
}
|
||||
sql.UpsertTreeQueue(tree)
|
||||
|
||||
box := Conf.Box(tree.Box)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue