From dc22e07e35ea8499f2d570aa35ae0043011d139f Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Fri, 26 Jan 2024 13:07:44 +0000 Subject: [PATCH] fix(nc-gui): force load group data if grp count is not equal to grp rows --- packages/nc-gui/components/smartsheet/grid/GroupBy.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/nc-gui/components/smartsheet/grid/GroupBy.vue b/packages/nc-gui/components/smartsheet/grid/GroupBy.vue index b76fddb217..86f752c41d 100644 --- a/packages/nc-gui/components/smartsheet/grid/GroupBy.vue +++ b/packages/nc-gui/components/smartsheet/grid/GroupBy.vue @@ -72,7 +72,9 @@ const findAndLoadSubGroup = (key: any) => { if (grp.nested) { if (!grp.children?.length) props.loadGroups({}, grp) } else { - if (!grp.rows?.length || grp.count !== grp.rows?.length) props.loadGroupData(grp) + if (!grp.rows?.length || grp.count !== grp.rows?.length) { + props.loadGroupData(grp, true) + } } } }