mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🐛 Add to Database shows databases that are not in the document https://github.com/siyuan-note/siyuan/issues/15847
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
1b077c164c
commit
0084a6427b
1 changed files with 2 additions and 1 deletions
|
|
@ -1398,7 +1398,8 @@ func SearchAttributeView(keyword string, excludeAvIDs []string) (ret []*AvSearch
|
|||
}
|
||||
|
||||
node = treenode.GetNodeInTree(tree, bID)
|
||||
if nil == node || "" == node.AttributeViewID {
|
||||
if nil == node || "" == node.AttributeViewID || ast.NodeAttributeView != node.Type {
|
||||
node = nil
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue