From 70d2d43b20f3c4493440c67b567759f47ea28a6a 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): group rows update issue --- packages/nc-gui/components/smartsheet/grid/GroupBy.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/grid/GroupBy.vue b/packages/nc-gui/components/smartsheet/grid/GroupBy.vue index 20c9215702..b76fddb217 100644 --- a/packages/nc-gui/components/smartsheet/grid/GroupBy.vue +++ b/packages/nc-gui/components/smartsheet/grid/GroupBy.vue @@ -72,7 +72,7 @@ const findAndLoadSubGroup = (key: any) => { if (grp.nested) { if (!grp.children?.length) props.loadGroups({}, grp) } else { - if (!grp.rows?.length) props.loadGroupData(grp) + if (!grp.rows?.length || grp.count !== grp.rows?.length) props.loadGroupData(grp) } } } @@ -258,7 +258,9 @@ const shouldRenderCell = (column) =>
-
{{ grp.column.title }}
+
+ {{ grp.column.title }} +
({{ $t('datatype.Count') }}: {{ grp.count }})