We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aea5528 commit e48391aCopy full SHA for e48391a
1 file changed
packages/devextreme/js/__internal/scheduler/workspaces/view_model/grouped_data_map_provider.ts
@@ -151,11 +151,11 @@ export class GroupedDataMapProvider {
151
} = this.groupedDataMap;
152
const { viewOffset } = this.viewOptions;
153
154
- const gIdx = groupIndex ?? 0;
155
- let rows: CellInfo[][] = dateTableGroupedMap[gIdx] || [];
+ const normalizedGroupIndex = groupIndex ?? 0;
+ let rows: CellInfo[][] = dateTableGroupedMap[normalizedGroupIndex] || [];
156
157
if (allDay && !this.viewOptions.isVerticalGrouping) {
158
- const allDayRow = allDayPanelGroupedMap[gIdx];
+ const allDayRow = allDayPanelGroupedMap[normalizedGroupIndex];
159
rows = allDayRow ? [allDayRow] : [];
160
}
161
0 commit comments