homepage overhault, aiService 1. try

This commit is contained in:
2024-07-26 19:18:28 +02:00
parent 38e943c18e
commit a6ae643458
15 changed files with 333 additions and 52 deletions

View File

@@ -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;
}