This commit is contained in:
azykov@mail.ru
2026-07-09 10:33:45 +03:00
parent be295c8f05
commit 6cfff5ef4b
+1 -1
View File
@@ -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: