🎨 Improve database block text in breadcrumbs https://github.com/siyuan-note/siyuan/issues/10891

This commit is contained in:
Daniel 2024-04-05 23:04:43 +08:00
parent 4f6a2e750f
commit 1d2516afb9
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 3 additions and 24 deletions

View file

@ -365,7 +365,7 @@ func buildBlockBreadcrumb(node *ast.Node, excludeTypes []string) (ret []*BlockPa
if ast.NodeDocument == parent.Type {
name = box.Name + hPath
} else if ast.NodeAttributeView == parent.Type {
name = treenode.GetAttributeViewName(parent.AttributeViewID)
name, _ = av.GetAttributeViewName(parent.AttributeViewID)
} else {
if "" == name {
if ast.NodeListItem == parent.Type {