Skip to content

Commit fa74cdf

Browse files
committed
Removed distinct column logic after engine fix
[#1062]
1 parent 9ab3f19 commit fa74cdf

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

packages/iris-grid/src/IrisGridRenderer.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,7 @@ class IrisGridRenderer extends GridRenderer {
187187
return;
188188
}
189189

190-
// There seem to be duplicate columns with the same name, so determine the
191-
// count of distinct names.
192-
const numUniqueNames = new Set(groupedColumns.map(({ name }) => name)).size;
193-
194-
const lastVisibleGroupColumnIndex = numUniqueNames - 1;
190+
const lastVisibleGroupColumnIndex = groupedColumns.length - 1;
195191

196192
const columnX = allColumnXs.get(lastVisibleGroupColumnIndex);
197193
const columnWidth = allColumnWidths.get(lastVisibleGroupColumnIndex);

0 commit comments

Comments
 (0)