Skip to content

Commit

Permalink
bug undefined tableCore
Browse files Browse the repository at this point in the history
  • Loading branch information
leosole-trimble committed Dec 19, 2023
1 parent dd215da commit 29ef962
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stencil-workspace/src/components/modus-table/modus-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ export class ModusTable {
newVal.subRowSelection !== oldVal.subRowSelection ||
newVal.preSelectedRows !== oldVal.preSelectedRows
) {
this.tableCore.setOptions('enableMultiRowSelection', newVal.multiple);
this.tableCore.setState('rowSelection', newVal.preSelectedRows);
this.tableCore.setState('subRowSelection', newVal.subRowSelection);
this.tableCore?.setOptions('enableMultiRowSelection', newVal.multiple);
this.tableCore?.setState('rowSelection', newVal.preSelectedRows);
this.tableCore?.setState('subRowSelection', newVal.subRowSelection);
}
}

Expand Down

0 comments on commit 29ef962

Please sign in to comment.