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 => )}