Browse Source

fix(nc-gui): force load group data if grp count is not equal to grp rows

pull/7500/head
Ramesh Mane 10 months ago
parent
commit
dc22e07e35
  1. 4
      packages/nc-gui/components/smartsheet/grid/GroupBy.vue

4
packages/nc-gui/components/smartsheet/grid/GroupBy.vue

@ -72,7 +72,9 @@ const findAndLoadSubGroup = (key: any) => {
if (grp.nested) { if (grp.nested) {
if (!grp.children?.length) props.loadGroups({}, grp) if (!grp.children?.length) props.loadGroups({}, grp)
} else { } 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)
}
} }
} }
} }

Loading…
Cancel
Save