Browse Source

Migrate market data management to dedicated routes

pull/7823/head
Thomas Kaul 2 days ago
parent
commit
f048af924e
  1. 2
      apps/client/src/app/components/admin-market-data/admin-market-data.component.ts
  2. 4
      apps/client/src/app/components/admin-market-data/asset-profile-dialog-host/asset-profile-dialog-host.component.ts

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

@ -143,8 +143,8 @@ export class GfAdminMarketDataComponent implements AfterViewInit, OnInit {
protected dataSource = new MatTableDataSource<AssetProfileItem>(); protected dataSource = new MatTableDataSource<AssetProfileItem>();
protected readonly displayedColumns: string[] = []; protected readonly displayedColumns: string[] = [];
protected readonly filters$ = new Subject<Filter[]>(); protected readonly filters$ = new Subject<Filter[]>();
protected readonly internalRoutes = internalRoutes;
protected isLoading = true; protected isLoading = true;
protected readonly internalRoutes = internalRoutes;
protected readonly isUUID = isUUID; protected readonly isUUID = isUUID;
protected pageSize = DEFAULT_PAGE_SIZE; protected pageSize = DEFAULT_PAGE_SIZE;
protected placeholder = ''; protected placeholder = '';

4
apps/client/src/app/components/admin-market-data/asset-profile-dialog-host/asset-profile-dialog-host.component.ts

@ -90,9 +90,9 @@ export class GfAssetProfileDialogHostComponent implements OnDestroy, OnInit {
this.openCreateAssetProfileDialog({ user }); this.openCreateAssetProfileDialog({ user });
} else if (dataSource && symbol) { } else if (dataSource && symbol) {
this.openAssetProfileDialog({ this.openAssetProfileDialog({
dataSource: dataSource as DataSource,
symbol, symbol,
user user,
dataSource: dataSource as DataSource
}); });
} else { } else {
this.navigateBack(); this.navigateBack();

Loading…
Cancel
Save