From 03386a6eb4c26084a03c88e3721b79c7c2d11567 Mon Sep 17 00:00:00 2001 From: Patrick Sun Date: Sun, 3 Jan 2021 15:34:36 +1100 Subject: [PATCH] remove duplicate button from loan add new dialog --- src/app/loan-edit/dist/loan-edit.component.js | 2 ++ src/app/loan-edit/loan-edit.component.html | 8 ++++---- src/app/loan-edit/loan-edit.component.ts | 2 ++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/app/loan-edit/dist/loan-edit.component.js b/src/app/loan-edit/dist/loan-edit.component.js index f85bf75..25512ba 100644 --- a/src/app/loan-edit/dist/loan-edit.component.js +++ b/src/app/loan-edit/dist/loan-edit.component.js @@ -54,9 +54,11 @@ var LoanEditComponent = /** @class */ (function () { }; LoanEditComponent.prototype.submitForm = function () { this.registerForm.markAllAsTouched(); + //this.action('yes'); }; LoanEditComponent.prototype.clearForm = function () { this.registerForm.reset(); + //this.action('no'); }; LoanEditComponent = __decorate([ core_1.Component({ diff --git a/src/app/loan-edit/loan-edit.component.html b/src/app/loan-edit/loan-edit.component.html index e5e3539..bce202a 100644 --- a/src/app/loan-edit/loan-edit.component.html +++ b/src/app/loan-edit/loan-edit.component.html @@ -112,11 +112,11 @@ Date Settled -
+
@@ -125,8 +125,8 @@ - - + + diff --git a/src/app/loan-edit/loan-edit.component.ts b/src/app/loan-edit/loan-edit.component.ts index b2e766b..5e184f7 100644 --- a/src/app/loan-edit/loan-edit.component.ts +++ b/src/app/loan-edit/loan-edit.component.ts @@ -59,10 +59,12 @@ export class LoanEditComponent implements OnInit { public submitForm(): void { this.registerForm.markAllAsTouched(); + //this.action('yes'); } public clearForm(): void { this.registerForm.reset(); + //this.action('no'); } public listClientNames: Array<{ text: string, value: number }> = [