typo fix
This commit is contained in:
@@ -19,7 +19,7 @@ export class GismeteoLocationCache {
|
||||
|
||||
private getCachedLocations(nameStartsWith: string): GismeteoLocation[] {
|
||||
return this.cache
|
||||
.filter((loc) => normalizeName(loc.name).startsWith(normalizeName(nameStartsWith)));
|
||||
.filter((loc) => normalizeName(loc.name, this.language).startsWith(normalizeName(nameStartsWith, this.language)));
|
||||
}
|
||||
|
||||
// gismeteo returns different structures for different requests:
|
||||
|
||||
Reference in New Issue
Block a user