🎨 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
682415ae80
commit
02a4eaa73b
1 changed files with 5 additions and 1 deletions
|
@ -510,6 +510,10 @@ func createDocWithMd(c *gin.Context) {
|
|||
}
|
||||
ret.Data = id
|
||||
|
||||
if !showInDocTree {
|
||||
return
|
||||
}
|
||||
|
||||
box := model.Conf.Box(notebook)
|
||||
b, _ := model.GetBlock(id, nil)
|
||||
p := b.Path
|
||||
|
@ -648,7 +652,7 @@ func listDocsByPath(c *gin.Context) {
|
|||
maxListCount = math.MaxInt
|
||||
}
|
||||
}
|
||||
showHidden := true
|
||||
showHidden := false
|
||||
if arg["showHidden"] != nil {
|
||||
showHidden = arg["showHidden"].(bool)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue