Browse Source

Improve notification

pull/7588/head
Thomas Kaul 3 weeks ago
parent
commit
38aa5fc4a5
  1. 11
      apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts

11
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) takeUntilDestroyed(this.destroyRef)
) )
.subscribe(({ price }) => { .subscribe(({ price }) => {
const currency = this.assetProfileForm.controls.currency.value;
this.notificationService.alert({ this.notificationService.alert({
title: title: `${$localize`The current market price is`} ${price}${
$localize`The current market price is` + currency ? ` ${currency}` : ''
' ' + }`
price +
' ' +
this.assetProfileForm.controls.currency.value
}); });
}); });
} }

Loading…
Cancel
Save