amended if code and validation
This commit is contained in:
parent
0a7b49a387
commit
1cbfb334de
2 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue