This commit is contained in:
Daniel 2025-07-08 16:35:26 +08:00
parent 89dc7c62e7
commit 4e6365fe77
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1488,6 +1488,9 @@ func genGroup(view *av.View, attrView *av.AttributeView) {
case av.LayoutTypeGallery:
v = av.NewGalleryView()
v.Gallery = av.NewLayoutGallery()
default:
logging.LogWarnf("unknown layout type [%s] for group view", view.LayoutType)
return
}
for _, item := range groupItems {
v.GroupItemIDs = append(v.GroupItemIDs, item.GetID())