Skip to content
Snippets Groups Projects
Commit ce054e62 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #13271 TIME 0:02 rm console.log

parent 044feb4b
No related branches found
No related tags found
No related merge requests found
......@@ -163,8 +163,6 @@ export class AdvSearchComponent implements OnInit, OnDestroy {
this.listProperties = this.criteriaSearchService.initListsProperties(this.headerService.user.id);
console.log(this.listProperties);
this.loading = false;
}
......@@ -179,9 +177,6 @@ export class AdvSearchComponent implements OnInit, OnDestroy {
});
this.appCriteriaTool.selectSearchTemplate(obj, false);
this.criteria = this.listProperties.criteria;
console.log('criteria initsaved', this.criteria);
this.initResultList();
} else if (this.initSearch) {
this.initResultList();
......
......@@ -124,8 +124,6 @@ export class CriteriaToolComponent implements OnInit {
}
async addCriteria(criteria: any, openPanel: boolean = true) {
console.log('addCriteria', openPanel);
if (this.functions.empty(criteria.control) || this.functions.empty(criteria.control.value)) {
criteria.control = criteria.type === 'date' ? new FormControl({}) : new FormControl('');
}
......@@ -210,10 +208,7 @@ export class CriteriaToolComponent implements OnInit {
if (state) {
this.criteriaTool.open();
} else {
console.log('close');
this.criteriaTool.close();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment