bugFixes
This commit is contained in:
@@ -58,12 +58,11 @@ export class BusinessListingsComponent {
|
||||
}
|
||||
});
|
||||
}
|
||||
async ngOnInit() {}
|
||||
async ngOnInit() {
|
||||
this.search();
|
||||
}
|
||||
async init() {
|
||||
this.reset();
|
||||
const statesResult = await this.listingsService.getAllStates('business');
|
||||
this.states = statesResult.map(ls => ({ name: this.selectOptions.getState(ls.state as string), value: ls.state, count: ls.count }));
|
||||
this.search();
|
||||
}
|
||||
|
||||
async search() {
|
||||
|
||||
Reference in New Issue
Block a user