Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-11-12 11:47:26 +08:00
parent aa545258c9
commit f64d6613b6
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -414,7 +414,7 @@ func renderViewableInstance(viewable av.Viewable, view *av.View, attrView *av.At
gallery.Cards = gallery.Cards[start:end]
case av.LayoutTypeKanban:
kanban := viewable.(*av.Kanban)
kanban.CardCount = 0
kanban.CardCount = len(kanban.Cards)
kanban.PageSize = view.PageSize
if 1 > pageSize {
pageSize = kanban.PageSize