mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-01 22:38:49 +01:00
🎨 Update av
This commit is contained in:
parent
de68e10ec9
commit
3381f1f7d4
1 changed files with 10 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue