From 6cfff5ef4ba4a3b6080d6f973fa304751702b8ec Mon Sep 17 00:00:00 2001 From: "azykov@mail.ru" Date: Thu, 9 Jul 2026 10:33:45 +0300 Subject: [PATCH] typo fix --- src/utils/gismeteoLocationCache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/gismeteoLocationCache.ts b/src/utils/gismeteoLocationCache.ts index efc740a..1b29307 100644 --- a/src/utils/gismeteoLocationCache.ts +++ b/src/utils/gismeteoLocationCache.ts @@ -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: