diff --git a/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts b/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts index 53ad731b1..d32ad9989 100644 --- a/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts +++ b/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 ?? {}),