fix: oprava výběru preferovaného času odchodu u podniku bez načteného menu

This commit is contained in:
mates committed 2026-07-07 10:02:03 +02:00
1 parent 791ccc1af6
commit c3a8900283
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -513,7 +513,7 @@ function App() {
}
const handleChangeDepartureTime = async (event: React.ChangeEvent<HTMLSelectElement>) => {
if (foodChoiceList?.length && choiceRef.current?.value) {
if (choiceRef.current?.value) {
await changeDepartureTime({ body: { time: event.target.value as DepartureTime, dayIndex } });
}
}