Commit a20f894c authored by Administrator's avatar Administrator

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.
parent 661cbeab
{ {
"name": "daa-example", "name": "daa-example",
"version": "0.2.0-alpha.3", "version": "0.2.0-alpha.4",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
......
{ {
"name": "daa-example", "name": "daa-example",
"version": "0.2.0-alpha.3", "version": "0.2.0-alpha.4",
"scripts": { "scripts": {
"ng": "./node_modules/.bin/ng", "ng": "./node_modules/.bin/ng",
"start": "./node_modules/.bin/ng serve", "start": "./node_modules/.bin/ng serve",
......
...@@ -58,7 +58,7 @@ export class PeopleMainComponent implements OnInit { ...@@ -58,7 +58,7 @@ export class PeopleMainComponent implements OnInit {
} }
public onCleanForm(): void { public onCleanForm(): void {
this.onCleanForm(); this.clearActivePerson();
} }
public onModifyForm(person: PersonModel): void { public onModifyForm(person: PersonModel): void {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment