fix: oprava přeskoku týdne rychlým klikáním na šipky
CI / Generate TypeScript types (push) Successful in 18s
CI / Server unit tests (push) Successful in 20s
CI / Build server (push) Successful in 24s
CI / Build client (push) Successful in 36s
CI / Playwright E2E tests (push) Successful in 1m18s
CI / Build and push Docker image (push) Successful in 53s
CI / Notify (push) Successful in 1s
CI / Generate TypeScript types (push) Successful in 18s
CI / Server unit tests (push) Successful in 20s
CI / Build server (push) Successful in 24s
CI / Build client (push) Successful in 36s
CI / Playwright E2E tests (push) Successful in 1m18s
CI / Build and push Docker image (push) Successful in 53s
CI / Notify (push) Successful in 1s
This commit is contained in:
+2
-1
@@ -528,7 +528,8 @@ function App() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleDayChange = async (dayIndex: number) => {
|
const handleDayChange = async (requestedIndex: number) => {
|
||||||
|
const dayIndex = Math.max(0, Math.min(4, requestedIndex));
|
||||||
setDayIndex(dayIndex);
|
setDayIndex(dayIndex);
|
||||||
dayIndexRef.current = dayIndex;
|
dayIndexRef.current = dayIndex;
|
||||||
if (choiceRef?.current?.value) {
|
if (choiceRef?.current?.value) {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
[
|
[
|
||||||
"Oprava: uložení preferovaného času odchodu i u podniku bez načteného menu",
|
"Oprava: uložení preferovaného času odchodu i u podniku bez načteného menu",
|
||||||
"Oprava: načítání denního menu podniku TechTower po změně jejich webu"
|
"Oprava: načítání denního menu podniku TechTower po změně jejich webu",
|
||||||
|
"Oprava: rychlé klikání na šipky přepínání dní už nepřeskočí mimo pracovní týden"
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user