Browse Source

Fix errors

pull/4157/head
Amandee Ellawala 8 months ago
committed by Thomas Kaul
parent
commit
a2ccfe6835
  1. 12
      apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts

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

@ -196,14 +196,14 @@ export class AssetProfileDialog implements OnDestroy, OnInit {
name: this.assetProfile.name ?? this.assetProfile.symbol, name: this.assetProfile.name ?? this.assetProfile.symbol,
scraperConfiguration: { scraperConfiguration: {
defaultMarketPrice: defaultMarketPrice:
this.assetProfile?.scraperConfiguration.defaultMarketPrice ?? 0, this.assetProfile?.scraperConfiguration?.defaultMarketPrice ?? 0,
headers: JSON.stringify( headers: JSON.stringify(
this.assetProfile?.scraperConfiguration.headers ?? {} this.assetProfile?.scraperConfiguration?.headers ?? {}
), ),
locale: this.assetProfile?.scraperConfiguration.locale ?? '', locale: this.assetProfile?.scraperConfiguration?.locale ?? '',
mode: this.assetProfile?.scraperConfiguration.mode ?? '', mode: this.assetProfile?.scraperConfiguration?.mode ?? '',
selector: this.assetProfile?.scraperConfiguration.selector ?? '', selector: this.assetProfile?.scraperConfiguration?.selector ?? '',
url: this.assetProfile?.scraperConfiguration.url ?? '' url: this.assetProfile?.scraperConfiguration?.url ?? ''
}, },
sectors: JSON.stringify(this.assetProfile?.sectors ?? []), sectors: JSON.stringify(this.assetProfile?.sectors ?? []),
symbolMapping: JSON.stringify(this.assetProfile?.symbolMapping ?? {}), symbolMapping: JSON.stringify(this.assetProfile?.symbolMapping ?? {}),

Loading…
Cancel
Save