diff --git a/src/app/dashboard/add-data.component.html b/src/app/dashboard/add-data.component.html index 46396fb..01789d7 100644 --- a/src/app/dashboard/add-data.component.html +++ b/src/app/dashboard/add-data.component.html @@ -48,29 +48,29 @@
- +
- +
- +
- +
- +
- +
diff --git a/src/app/dashboard/add-data.component.ts b/src/app/dashboard/add-data.component.ts index caf91e7..0bedfb4 100644 --- a/src/app/dashboard/add-data.component.ts +++ b/src/app/dashboard/add-data.component.ts @@ -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;