Skip to content

Commit e48391a

Browse files
committed
refactor: rename var
1 parent aea5528 commit e48391a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/devextreme/js/__internal/scheduler/workspaces/view_model/grouped_data_map_provider.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,11 @@ export class GroupedDataMapProvider {
151151
} = this.groupedDataMap;
152152
const { viewOffset } = this.viewOptions;
153153

154-
const gIdx = groupIndex ?? 0;
155-
let rows: CellInfo[][] = dateTableGroupedMap[gIdx] || [];
154+
const normalizedGroupIndex = groupIndex ?? 0;
155+
let rows: CellInfo[][] = dateTableGroupedMap[normalizedGroupIndex] || [];
156156

157157
if (allDay && !this.viewOptions.isVerticalGrouping) {
158-
const allDayRow = allDayPanelGroupedMap[gIdx];
158+
const allDayRow = allDayPanelGroupedMap[normalizedGroupIndex];
159159
rows = allDayRow ? [allDayRow] : [];
160160
}
161161

0 commit comments

Comments
 (0)