Skip to content
Snippets Groups Projects
Commit fee42c79 authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #12091 TIME 0:10 do not call department list in admin mode

parent dbe241e1
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,9 @@ export class AddressBanAutocompleteComponent implements OnInit {
ngOnInit() {
this.controlAutocomplete.setValue(this.controlAutocomplete.value === null || this.controlAutocomplete.value === '' ? [] : this.controlAutocomplete.value);
this.initFormValue();
this.initBanSearch();
if (!this.adminMode) {
this.initBanSearch();
}
this.initAutocompleteRoute();
}
......
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