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)
)
.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}` : ''
}`
});
});
}

Loading…
Cancel
Save