This commit is contained in:
Daniel 2025-09-04 16:14:38 +08:00
parent cd8c3a41e6
commit 2b85cb1b6c
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 21 additions and 10 deletions

View file

@ -22,8 +22,13 @@ import (
"github.com/siyuan-note/siyuan/kernel/util"
)
func RenderAttributeViewTable(attrView *av.AttributeView, view *av.View, query string,
depth *int, cachedAttrViews map[string]*av.AttributeView) (ret *av.Table) {
func RenderAttributeViewTable(attrView *av.AttributeView, view *av.View, query string, depth *int, cachedAttrViews map[string]*av.AttributeView) (ret *av.Table) {
viewable := attrView.RenderedViewables[view.ID]
if nil != viewable {
ret = viewable.(*av.Table)
return
}
ret = &av.Table{
BaseInstance: av.NewViewBaseInstance(view),
Columns: []*av.TableColumn{},