diff --git a/client/src/App.tsx b/client/src/App.tsx index e5224c2..88e4c9c 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -361,6 +361,7 @@ function App() { Poslední změny: {dayIndex != null && diff --git a/server/src/restaurants.ts b/server/src/restaurants.ts index d1700c2..2217c00 100644 --- a/server/src/restaurants.ts +++ b/server/src/restaurants.ts @@ -137,7 +137,7 @@ export const getMenuSladovnicka = async (firstDayOfWeek: Date, mock: boolean = f isSoup: false, }); }) - result[index] = currentDayFood; + result[dayIndex] = currentDayFood; } return result; }