Skip to content

Commit

Permalink
Removed distinct column logic after engine fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Mar 3, 2023
1 parent 9ab3f19 commit fa74cdf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/iris-grid/src/IrisGridRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,7 @@ class IrisGridRenderer extends GridRenderer {
return;
}

// There seem to be duplicate columns with the same name, so determine the
// count of distinct names.
const numUniqueNames = new Set(groupedColumns.map(({ name }) => name)).size;

const lastVisibleGroupColumnIndex = numUniqueNames - 1;
const lastVisibleGroupColumnIndex = groupedColumns.length - 1;

const columnX = allColumnXs.get(lastVisibleGroupColumnIndex);
const columnWidth = allColumnWidths.get(lastVisibleGroupColumnIndex);
Expand Down

0 comments on commit fa74cdf

Please sign in to comment.