From aca6ccdb60c95f649fd70f46d01f29d62ce3815d Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 1 Jun 2024 09:55:37 +0200 Subject: [PATCH] Fix form control access --- .../create-or-update-account-dialog.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/app/pages/accounts/create-or-update-account-dialog/create-or-update-account-dialog.component.ts b/apps/client/src/app/pages/accounts/create-or-update-account-dialog/create-or-update-account-dialog.component.ts index d02050e68..da2ea725a 100644 --- a/apps/client/src/app/pages/accounts/create-or-update-account-dialog/create-or-update-account-dialog.component.ts +++ b/apps/client/src/app/pages/accounts/create-or-update-account-dialog/create-or-update-account-dialog.component.ts @@ -103,7 +103,7 @@ export class CreateOrUpdateAccountDialog implements OnDestroy { const account: CreateAccountDto | UpdateAccountDto = { balance: this.accountForm.get('balance').value, comment: this.accountForm.get('comment').value || null, - currency: this.accountForm.get('currency').value?.value, + currency: this.accountForm.get('currency').value, id: this.accountForm.get('accountId').value, isExcluded: this.accountForm.get('isExcluded').value, name: this.accountForm.get('name').value,