From 4ebe63c740b4aa12ec93a7a4965dd588f58e4d5e Mon Sep 17 00:00:00 2001 From: Valentin Zickner Date: Sun, 9 May 2021 21:13:50 +0200 Subject: [PATCH] fix prettier transactions-page.component.ts --- .../app/pages/transactions/transactions-page.component.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/client/src/app/pages/transactions/transactions-page.component.ts b/apps/client/src/app/pages/transactions/transactions-page.component.ts index bfae6b8a1..1fbb17023 100644 --- a/apps/client/src/app/pages/transactions/transactions-page.component.ts +++ b/apps/client/src/app/pages/transactions/transactions-page.component.ts @@ -184,9 +184,11 @@ export class TransactionsPageComponent implements OnInit { data: { accounts: this.user?.accounts, transaction: { - accountId: aTransaction?.accountId ?? this.user?.accounts.find((account) => { - return account.isDefault; - })?.id, + accountId: + aTransaction?.accountId ?? + this.user?.accounts.find((account) => { + return account.isDefault; + })?.id, currency: aTransaction?.currency ?? null, dataSource: aTransaction?.dataSource ?? null, date: new Date(),