From c3a8900283db926e4a3c820fd471fe27ada64848 Mon Sep 17 00:00:00 2001 From: Martin Berka Date: Tue, 7 Jul 2026 10:02:03 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20oprava=20v=C3=BDb=C4=9Bru=20preferovan?= =?UTF-8?q?=C3=A9ho=20=C4=8Dasu=20odchodu=20u=20podniku=20bez=20na=C4=8Dte?= =?UTF-8?q?n=C3=A9ho=20menu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/App.tsx | 2 +- server/changelogs/2026-07-07.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 server/changelogs/2026-07-07.json diff --git a/client/src/App.tsx b/client/src/App.tsx index 5795aa5..fdac7cd 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -513,7 +513,7 @@ function App() { } const handleChangeDepartureTime = async (event: React.ChangeEvent) => { - if (foodChoiceList?.length && choiceRef.current?.value) { + if (choiceRef.current?.value) { await changeDepartureTime({ body: { time: event.target.value as DepartureTime, dayIndex } }); } } diff --git a/server/changelogs/2026-07-07.json b/server/changelogs/2026-07-07.json new file mode 100644 index 0000000..d9d4a66 --- /dev/null +++ b/server/changelogs/2026-07-07.json @@ -0,0 +1,3 @@ +[ + "Oprava: uložení preferovaného času odchodu i u podniku bez načteného menu" +]