From 739c872815347270af7757e91d116d288526fd68 Mon Sep 17 00:00:00 2001 From: tanshu Date: Sat, 30 Jun 2018 20:05:32 +0530 Subject: [PATCH] Fix: Adding the next account in journal with default accounts failed because amount in rowAmount as reset as number. --- overlord/src/app/journal/journal.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlord/src/app/journal/journal.component.ts b/overlord/src/app/journal/journal.component.ts index 273aeac3..2e854a81 100644 --- a/overlord/src/app/journal/journal.component.ts +++ b/overlord/src/app/journal/journal.component.ts @@ -125,7 +125,7 @@ export class JournalComponent implements OnInit, AfterViewInit { this.form.get('addRow').reset({ debit: debit, account: null, - amount: amount + amount: '' + amount }); this.account = null; this.accBal = null;