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