BOHA c4f6723042 fix: attendance clock-in button stuck when geolocation fails or hangs
handlePunch set submitting=true before calling geolocation, but the
error callback never reset it. When geolocation was denied or timed out:
- Error alert showed
- GPS confirm modal opened
- Button stayed disabled showing "Zpracovávám..."
- User thought it was stuck; no server request appeared to happen

Also added a 12s safety timeout fallback because some browsers silently
hang on getCurrentPosition without calling either callback.

Fix: call setSubmitting(false) in the error callback and clear the
safety timeout in both success and error paths.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-24 11:40:51 +02:00
2026-03-23 08:46:51 +01:00
2026-03-23 08:46:51 +01:00
2026-03-23 08:46:51 +01:00
2026-03-23 08:46:51 +01:00
Description
No description provided
16 MiB
v1.5.1 Latest
2026-04-02 20:01:44 +02:00
Languages
TypeScript 94%
CSS 5.9%