Add default response when area name or type is not found.
This commit is contained in:
parent
717c8616ae
commit
5fcee3dcf9
@ -35,6 +35,7 @@ export class LocationService {
|
|||||||
return queriedAreaName;
|
return queriedAreaName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return 'other';
|
||||||
}
|
}
|
||||||
|
|
||||||
getAreaTypes(): void {
|
getAreaTypes(): void {
|
||||||
@ -54,5 +55,6 @@ export class LocationService {
|
|||||||
return queriedAreaType;
|
return queriedAreaType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return 'other';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user