Skip to content

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

Bugfix/fix displayed currency of cash balance in account dialog (#2480)

Thomas Kaule1022846b996
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8bff6b3002..25921fc921 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fixed `FEE` and `INTEREST` types in the activities import of `csv` files
+- Fixed the displayed currency of the cash balance in the create or update account dialog
## 2.10.0 - 2023-10-09
diff --git a/apps/client/src/app/pages/accounts/create-or-update-account-dialog/create-or-update-account-dialog.html b/apps/client/src/app/pages/accounts/create-or-update-account-dialog/create-or-update-account-dialog.html
index 91efd09724..d44693436a 100644
--- a/apps/client/src/app/pages/accounts/create-or-update-account-dialog/create-or-update-account-dialog.html
+++ b/apps/client/src/app/pages/accounts/create-or-update-account-dialog/create-or-update-account-dialog.html
@@ -36,7 +36,9 @@
type="number"
(keydown.enter)="$event.stopPropagation()"
/>
- <span class="ml-2" matTextSuffix>{{ data.account.currency }}</span>
+ <span class="ml-2" matTextSuffix
+ >{{ accountForm.controls['currency'].value }}</span
+ >
</mat-form-field>
</div>
<div [ngClass]="{ 'd-none': platforms?.length < 1 }">