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,
scraperConfiguration: {
defaultMarketPrice:
this.assetProfile?.scraperConfiguration.defaultMarketPrice ?? 0,
this.assetProfile?.scraperConfiguration?.defaultMarketPrice ?? 0,
headers: JSON.stringify(
this.assetProfile?.scraperConfiguration.headers ?? {}
this.assetProfile?.scraperConfiguration?.headers ?? {}
),
locale: this.assetProfile?.scraperConfiguration.locale ?? '',
mode: this.assetProfile?.scraperConfiguration.mode ?? '',
selector: this.assetProfile?.scraperConfiguration.selector ?? '',
url: this.assetProfile?.scraperConfiguration.url ?? ''
locale: this.assetProfile?.scraperConfiguration?.locale ?? '',
mode: this.assetProfile?.scraperConfiguration?.mode ?? '',
selector: this.assetProfile?.scraperConfiguration?.selector ?? '',
url: this.assetProfile?.scraperConfiguration?.url ?? ''
},
sectors: JSON.stringify(this.assetProfile?.sectors ?? []),
symbolMapping: JSON.stringify(this.assetProfile?.symbolMapping ?? {}),

Loading…
Cancel
Save