Skip to content

Commit

Permalink
Change cached column param to readonly
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Bender <mikebender@deephaven.io>
  • Loading branch information
georgecwan and mofojed authored Oct 12, 2023
1 parent 185a305 commit eabc635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/iris-grid/src/IrisGridTreeTableModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ class IrisGridTreeTableModel extends IrisGridTableModelTemplate<
);

getCachedGroupedColumnSet = memoize(
(groupedColumns: Column[]) =>
(groupedColumns: readonly Column[]) =>
new Set(
groupedColumns.map(c1 =>
this.columns.findIndex(c2 => c1.name === c2.name)
Expand Down

0 comments on commit eabc635

Please sign in to comment.