♻️ Refactor av

This commit is contained in:
Daniel 2025-06-08 17:24:24 +08:00
parent 28095c5ef7
commit 9ab2033242
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
5 changed files with 37 additions and 46 deletions

View file

@ -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,
})
}