🎨 Support hiding database table view title https://github.com/siyuan-note/siyuan/issues/10478

This commit is contained in:
Daniel 2024-03-01 22:40:56 +08:00
parent 950a148336
commit bbf41e4769
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 40 additions and 33 deletions

View file

@ -651,11 +651,12 @@ func getAttributeViewContent(avID string) (content string) {
func renderAttributeViewTable(attrView *av.AttributeView, view *av.View) (ret *av.Table, err error) {
ret = &av.Table{
ID: view.ID,
Icon: view.Icon,
Name: view.Name,
Columns: []*av.TableColumn{},
Rows: []*av.TableRow{},
ID: view.ID,
Icon: view.Icon,
Name: view.Name,
HideAttrViewName: view.HideAttrViewName,
Columns: []*av.TableColumn{},
Rows: []*av.TableRow{},
}
// 组装列