mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
♻️ Refactor av
This commit is contained in:
parent
28095c5ef7
commit
9ab2033242
5 changed files with 37 additions and 46 deletions
|
|
@ -38,19 +38,19 @@ func RenderAttributeViewGallery(attrView *av.AttributeView, view *av.View, query
|
|||
|
||||
ret.Fields = append(ret.Fields, &av.GalleryField{
|
||||
BaseInstanceField: &av.BaseInstanceField{
|
||||
ID: key.ID,
|
||||
Name: key.Name,
|
||||
Type: key.Type,
|
||||
Icon: key.Icon,
|
||||
Hidden: field.Hidden,
|
||||
Desc: key.Desc,
|
||||
ID: key.ID,
|
||||
Name: key.Name,
|
||||
Type: key.Type,
|
||||
Icon: key.Icon,
|
||||
Hidden: field.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,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue