Bugfixes
This commit is contained in:
@@ -58,6 +58,7 @@ export class BrokerListingsComponent {
|
||||
rows: number = 12;
|
||||
totalRecords: number = 0;
|
||||
ts = new Date().getTime();
|
||||
env = environment;
|
||||
public category: 'business' | 'commercialProperty' | 'professionals_brokers' | undefined;
|
||||
|
||||
constructor(
|
||||
@@ -81,7 +82,7 @@ export class BrokerListingsComponent {
|
||||
});
|
||||
}
|
||||
async ngOnInit() {
|
||||
const statesResult = await this.listingsService.getAllStates('business');
|
||||
const statesResult = await this.userService.getAllStates();
|
||||
this.states = statesResult.map(ls => ({ name: this.selectOptions.getState(ls.state as string), value: ls.state, count: ls.count }));
|
||||
}
|
||||
async init() {
|
||||
|
||||
Reference in New Issue
Block a user