Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Task/improve notification of scraper configuration (#7588)

Thomas Kaula21d6cf63f0e
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 8fc012488e..314fd21b52 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
@@ -848,13 +848,12 @@ export class GfAssetProfileDialogComponent implements OnInit {
takeUntilDestroyed(this.destroyRef)
)
.subscribe(({ price }) => {
+ const currency = this.assetProfileForm.controls.currency.value;
+
this.notificationService.alert({
- title:
- $localize`The current market price is` +
- ' ' +
- price +
- ' ' +
- this.assetProfileForm.controls.currency.value
+ title: `${$localize`The current market price is`} ${price}${
+ currency ? ` ${currency}` : ''
+ }`
});
});
}