Browse Source

fix prettier transactions-page.component.ts

pull/77/head
Valentin Zickner 4 years ago
parent
commit
4ebe63c740
  1. 8
      apps/client/src/app/pages/transactions/transactions-page.component.ts

8
apps/client/src/app/pages/transactions/transactions-page.component.ts

@ -184,9 +184,11 @@ export class TransactionsPageComponent implements OnInit {
data: { data: {
accounts: this.user?.accounts, accounts: this.user?.accounts,
transaction: { transaction: {
accountId: aTransaction?.accountId ?? this.user?.accounts.find((account) => { accountId:
return account.isDefault; aTransaction?.accountId ??
})?.id, this.user?.accounts.find((account) => {
return account.isDefault;
})?.id,
currency: aTransaction?.currency ?? null, currency: aTransaction?.currency ?? null,
dataSource: aTransaction?.dataSource ?? null, dataSource: aTransaction?.dataSource ?? null,
date: new Date(), date: new Date(),

Loading…
Cancel
Save