Skip to content

Commit

Permalink
[AAE-22900] PR comments update - cleaned up sortingMode set
Browse files Browse the repository at this point in the history
  • Loading branch information
amolodyh-hyland committed Nov 26, 2024
1 parent 31c9a33 commit 24204c4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/core/src/lib/datatable/data/object-datatable-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,7 @@ export class ObjectDataTableAdapter implements DataTableAdapter {
constructor(data: any[] = [], schema: DataColumn[] = [], sortingMode: SortingMode = 'client') {
this._rows = [];
this._columns = [];

if (!sortingMode) {
sortingMode = 'client';
}
this._sortingMode = sortingMode;
this.sortingMode = sortingMode;

if (data && data.length > 0) {
this._rows = data.map((item) => new ObjectDataRow(item));
Expand Down

0 comments on commit 24204c4

Please sign in to comment.