mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 Improve Add to Database
https://github.com/siyuan-note/siyuan/issues/10659
This commit is contained in:
parent
95a5b46800
commit
f1bf15146a
1 changed files with 0 additions and 11 deletions
|
@ -1116,17 +1116,6 @@ func SearchAttributeView(keyword string, excludeAvIDs []string) (ret []*SearchAt
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
exist := false
|
|
||||||
for _, result := range ret {
|
|
||||||
if result.AvID == avID {
|
|
||||||
exist = true
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if exist {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
var hPath string
|
var hPath string
|
||||||
baseBlock := treenode.GetBlockTreeRootByPath(node.Box, node.Path)
|
baseBlock := treenode.GetBlockTreeRootByPath(node.Box, node.Path)
|
||||||
if nil != baseBlock {
|
if nil != baseBlock {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue