🎨 Improve av

This commit is contained in:
Daniel 2025-08-11 23:38:52 +08:00
parent e290d2a3fc
commit 44831e464c
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1010,7 +1010,7 @@ func GetAttributeViewPrimaryKeyValues(avID, keyword string, page, pageSize int)
keyValues = attrView.GetBlockKeyValues()
var values []*av.Value
for _, kv := range keyValues.Values {
if !kv.IsDetached && !treenode.ExistBlockTree(kv.BlockID) {
if !kv.IsDetached && !treenode.ExistBlockTree(kv.Block.ID) {
continue
}