Skip to content

Commit

Permalink
AAE-29501 Remove lodash-es import from columns selector
Browse files Browse the repository at this point in the history
  • Loading branch information
BSekula committed Dec 19, 2024
1 parent 76d4c6a commit f799300
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import { MatIconModule } from '@angular/material/icon';
import { MatDividerModule } from '@angular/material/divider';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
import { clone } from 'lodash-es';
import { ColumnsSearchFilterPipe } from './columns-search-filter.pipe';

@Component({
Expand Down Expand Up @@ -106,7 +105,7 @@ export class ColumnsSelectorComponent implements OnInit {
}

private updateColumnItems(): void {
let columns = clone(this.columns);
let columns = this.columns.map((column) => ({ ...column }));
columns = this.sortColumns(columns);
this.columnItems = columns;
}
Expand Down

0 comments on commit f799300

Please sign in to comment.