Browse Source

Add missing providers

pull/5212/head
Thomas Kaul 2 days ago
parent
commit
35bf621862
  1. 1
      apps/client/src/app/components/admin-market-data/admin-market-data.component.ts
  2. 9
      apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts

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

@ -91,6 +91,7 @@ import { CreateAssetProfileDialogParams } from './create-asset-profile-dialog/in
NgxSkeletonLoaderModule, NgxSkeletonLoaderModule,
RouterModule RouterModule
], ],
providers: [AdminMarketDataService],
selector: 'gf-admin-market-data', selector: 'gf-admin-market-data',
styleUrls: ['./admin-market-data.scss'], styleUrls: ['./admin-market-data.scss'],
templateUrl: './admin-market-data.html' templateUrl: './admin-market-data.html'

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

@ -88,9 +88,8 @@ import {
} from './interfaces/interfaces'; } from './interfaces/interfaces';
@Component({ @Component({
host: { class: 'd-flex flex-column h-100' },
selector: 'gf-asset-profile-dialog',
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
host: { class: 'd-flex flex-column h-100' },
imports: [ imports: [
CommonModule, CommonModule,
FormsModule, FormsModule,
@ -113,8 +112,10 @@ import {
ReactiveFormsModule, ReactiveFormsModule,
TextFieldModule TextFieldModule
], ],
templateUrl: 'asset-profile-dialog.html', providers: [AdminMarketDataService],
styleUrls: ['./asset-profile-dialog.component.scss'] selector: 'gf-asset-profile-dialog',
styleUrls: ['./asset-profile-dialog.component.scss'],
templateUrl: 'asset-profile-dialog.html'
}) })
export class GfAssetProfileDialogComponent implements OnDestroy, OnInit { export class GfAssetProfileDialogComponent implements OnDestroy, OnInit {
private static readonly HISTORICAL_DATA_TEMPLATE = `date;marketPrice\n${format( private static readonly HISTORICAL_DATA_TEMPLATE = `date;marketPrice\n${format(

Loading…
Cancel
Save