homepage overhault, aiService 1. try
This commit is contained in:
@@ -21,6 +21,7 @@ export class SelectOptionsService {
|
||||
this.states = allSelectOptions.locations;
|
||||
this.gender = allSelectOptions.gender;
|
||||
this.typesOfCommercialProperty = allSelectOptions.typesOfCommercialProperty;
|
||||
this.distances = allSelectOptions.distances;
|
||||
}
|
||||
public typesOfBusiness: Array<KeyValueStyle>;
|
||||
|
||||
@@ -36,6 +37,7 @@ export class SelectOptionsService {
|
||||
|
||||
public states: Array<any>;
|
||||
public customerSubTypes: Array<KeyValue>;
|
||||
public distances: Array<KeyValue>;
|
||||
getState(value: string): string {
|
||||
return this.states.find(l => l.value === value)?.name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user