mirror of
https://github.com/wasrusgen/zov-tech.git
synced 2026-06-03 19:44:48 +00:00
fetchClients() was not sending initDataUnsafe, so on Telegram Desktop
(where initData can be unreliable) _handle_clients returned
{"error":"invalid_init_data"} and the frontend showed an empty list
instead of an error — making newly created clients appear missing.
- fetchClients(): add initDataUnsafe to request body (matches renderManagerHome pattern)
- renderList(): surface data.error explicitly instead of silent empty state
- _handle_client_create: gps_lat/gps_lng None → "" to avoid "None" strings in sheet
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| app.js | ||
| assembly.js | ||
| clients.js | ||
| icons.js | ||
| measurements.js | ||
| podbor.config.js | ||
| podbor.css | ||
| podbor.js | ||
| podbor.picts.js | ||
| proposals.js | ||
| request.js | ||
| styles.css | ||
| wasrusgen-logo.svg | ||
| zamer-checklist.md | ||
| zamer-picts.js | ||
| zov-logo.svg | ||