mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
♻️ Refactor av
This commit is contained in:
parent
28095c5ef7
commit
9ab2033242
5 changed files with 37 additions and 46 deletions
|
|
@ -52,23 +52,23 @@ func RenderAttributeViewTable(attrView *av.AttributeView, view *av.View, query s
|
|||
|
||||
ret.Columns = append(ret.Columns, &av.TableColumn{
|
||||
BaseInstanceField: &av.BaseInstanceField{
|
||||
ID: key.ID,
|
||||
Name: key.Name,
|
||||
Type: key.Type,
|
||||
Icon: key.Icon,
|
||||
Hidden: col.Hidden,
|
||||
Desc: key.Desc,
|
||||
ID: key.ID,
|
||||
Name: key.Name,
|
||||
Type: key.Type,
|
||||
Icon: key.Icon,
|
||||
Hidden: col.Hidden,
|
||||
Desc: key.Desc,
|
||||
Options: key.Options,
|
||||
NumberFormat: key.NumberFormat,
|
||||
Template: key.Template,
|
||||
Relation: key.Relation,
|
||||
Rollup: key.Rollup,
|
||||
Date: key.Date,
|
||||
},
|
||||
Options: key.Options,
|
||||
NumberFormat: key.NumberFormat,
|
||||
Template: key.Template,
|
||||
Relation: key.Relation,
|
||||
Rollup: key.Rollup,
|
||||
Date: key.Date,
|
||||
Wrap: col.Wrap,
|
||||
Width: col.Width,
|
||||
Pin: col.Pin,
|
||||
Calc: col.Calc,
|
||||
Wrap: col.Wrap,
|
||||
Width: col.Width,
|
||||
Pin: col.Pin,
|
||||
Calc: col.Calc,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue