Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Update av

Daniel3381f1f7d4cd
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go
index e5c295c73c..d333d949e8 100644
--- a/kernel/model/attribute_view.go
+++ b/kernel/model/attribute_view.go
@@ -104,6 +104,16 @@ func renderAttributeViewTable(attrView *av.AttributeView, view *av.View) (ret *a
}
}
+ notFound := []string{}
+ for blockID, _ := range rows {
+ if treenode.GetBlockTree(blockID) == nil {
+ notFound = append(notFound, blockID)
+ }
+ }
+ for _, blockID := range notFound {
+ delete(rows, blockID)
+ }
+
for rowID, row := range rows {
var tableRow av.TableRow
for _, col := range ret.Columns {