amended if code and validation

This commit is contained in:
piratefinn 2018-03-05 13:42:28 +00:00
parent 0a7b49a387
commit 1cbfb334de
2 changed files with 7 additions and 7 deletions

View file

@ -178,7 +178,7 @@ export class AddDataComponent implements OnInit {
this.submitOrg.town.length === 0 ||
this.amount === 0 ||
this.recurringPurchase &&
this.recurringType === 0) {
!this.recurringType) {
this.transactionFormInvalid = true;
} else {
this.transactionFormInvalid = false;