From 2fc3722ba7f5cfcbfa0ceec25cbe9125329153e0 Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Thu, 11 Jun 2026 10:49:04 +0100 Subject: [PATCH] =?UTF-8?q?fix(dynozavry):=20pick=20up=20zone-tagged=20?= =?UTF-8?q?=D0=94=D0=B8=D0=BD=D0=BE=D0=BF=D0=B0=D1=80=D0=BA=20tariff=20fro?= =?UTF-8?q?m=20EZY=20API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously filtered only categoryTag==='dyno'; EZY returns 'zone' for Динопарк. Mirrors the same pattern already used in DyvoLisTickets. Co-Authored-By: Claude Sonnet 4.6 --- src/components/sections/DinoPageContent.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/sections/DinoPageContent.tsx b/src/components/sections/DinoPageContent.tsx index 3303a62..1ca67d7 100644 --- a/src/components/sections/DinoPageContent.tsx +++ b/src/components/sections/DinoPageContent.tsx @@ -722,7 +722,11 @@ export function DinoPageContent({ .then((r) => r.json()) .then((data: { tariffs?: Tariff[] }) => { const all = data.tariffs ?? [] - const dyno = all.filter((t) => t.categoryTag === 'dyno') + const dyno = all.filter( + (t) => + t.categoryTag === 'dyno' || + (t.categoryTag === 'zone' && t.name.toLowerCase().includes('дино')) + ) const combo = all.filter((t) => t.categoryTag === 'combo') if (dyno.length > 0) setDynoTariffs(dyno) if (combo.length > 0) setComboTariffs(combo)