From a20f894c786d62c507a530e8b0618f9017c39571 Mon Sep 17 00:00:00 2001 From: Miguel Reboiro-Jato Date: Fri, 7 Feb 2020 18:46:03 +0100 Subject: [PATCH] Fixes edition panel cleaning A bug was causing the "Limpiar" button of the people view not to work, as the event-managing method was calling itself. This bugfix solves this problem by changing the method called by the event-managing method. --- src/main/angular/package-lock.json | 2 +- src/main/angular/package.json | 2 +- .../people/components/people-main/people-main.component.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/angular/package-lock.json b/src/main/angular/package-lock.json index 0dc39df..9563b7f 100644 --- a/src/main/angular/package-lock.json +++ b/src/main/angular/package-lock.json @@ -1,6 +1,6 @@ { "name": "daa-example", - "version": "0.2.0-alpha.3", + "version": "0.2.0-alpha.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/src/main/angular/package.json b/src/main/angular/package.json index 958c115..e4fbaef 100644 --- a/src/main/angular/package.json +++ b/src/main/angular/package.json @@ -1,6 +1,6 @@ { "name": "daa-example", - "version": "0.2.0-alpha.3", + "version": "0.2.0-alpha.4", "scripts": { "ng": "./node_modules/.bin/ng", "start": "./node_modules/.bin/ng serve", diff --git a/src/main/angular/src/app/modules/people/components/people-main/people-main.component.ts b/src/main/angular/src/app/modules/people/components/people-main/people-main.component.ts index 284b516..c355f18 100644 --- a/src/main/angular/src/app/modules/people/components/people-main/people-main.component.ts +++ b/src/main/angular/src/app/modules/people/components/people-main/people-main.component.ts @@ -58,7 +58,7 @@ export class PeopleMainComponent implements OnInit { } public onCleanForm(): void { - this.onCleanForm(); + this.clearActivePerson(); } public onModifyForm(person: PersonModel): void { -- 2.18.1