mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
aa545258c9
commit
f64d6613b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue