From f74ec379c80d1366de9feb7b6be89e8d6c5471ae Mon Sep 17 00:00:00 2001 From: Martin Berka Date: Thu, 6 Mar 2025 08:03:49 +0100 Subject: [PATCH] =?UTF-8?q?Oprava=20v=C3=BDb=C4=9Bru=20mo=C5=BEnosti=20str?= =?UTF-8?q?avov=C3=A1n=C3=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/App.tsx b/client/src/App.tsx index 8bbafa4..2b79a3a 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -437,9 +437,9 @@ function App() {

{`Jak to ${dayIndex == null || dayIndex === data.todayDayIndex ? 'dnes' : 'tento den'} vidíš s obědem?`}

- {Object.keys(Restaurant) + {Object.entries(LunchChoice) .filter(entry => { - const locationKey = entry as keyof typeof Restaurant; + const locationKey = entry[0] as keyof typeof Restaurant; return !food[locationKey]?.closed; }) .map(entry => )}