Browse Source

fix(client): refactor selection

pull/6885/head
KenTandrian 1 week ago
parent
commit
41e359d8c7
  1. 4
      apps/client/src/app/components/admin-market-data/admin-market-data.component.ts

4
apps/client/src/app/components/admin-market-data/admin-market-data.component.ts

@ -154,7 +154,7 @@ export class GfAdminMarketDataComponent implements AfterViewInit, OnInit {
protected readonly isUUID = isUUID;
protected pageSize = DEFAULT_PAGE_SIZE;
protected placeholder = '';
protected selection: SelectionModel<AdminMarketDataItem>;
protected readonly selection = new SelectionModel<AdminMarketDataItem>(true);
protected totalItems = 0;
protected user: User;
@ -272,8 +272,6 @@ export class GfAdminMarketDataComponent implements AfterViewInit, OnInit {
this.benchmarks = benchmarks;
this.deviceType = this.deviceDetectorService.getDeviceInfo().deviceType;
this.selection = new SelectionModel(true);
}
protected onChangePage(page: PageEvent) {

Loading…
Cancel
Save