🎨 Update av

This commit is contained in:
Daniel 2023-07-15 23:46:52 +08:00
parent de68e10ec9
commit 3381f1f7d4
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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 {