baldav/src-tauri
4aiman ee2880a435 Fix: can't delete a 0-point (0 km) track
The Delete / Recalculate / Refine / Compare handlers were bound inside
`if (mapEl && points.length)` in showSessionDetail, so a track with no points
(started recording, no GPS fix, stopped → 0 km) skipped the whole block and its
"Удалить" button did nothing. Moved the session-action button handlers outside
the map/points guard so they bind regardless. (Also covers a track whose points
all get dropped by the new accuracy filter.)

DB.deleteGpsSession already handled zero points fine (DELETE of 0 rows is a
no-op); the bug was purely the unbound click handler.
2026-08-16 20:35:08 +03:00
..
capabilities GPX export + GPS background recording fixes 2026-05-16 10:49:55 +03:00
gen/android/app/src/main GPS: safe on-device recovery, net-kcal model, poll/watchPosition dedup 2026-07-29 15:35:18 +03:00
icons GPX export + GPS background recording fixes 2026-05-16 10:49:55 +03:00
src Route editor + 1% slope bands + debug-only diagnostics + rotate-map route fix 2026-08-16 17:15:42 +03:00
build.rs Seed products DB + Settings screen + build fixes 2026-05-14 17:35:29 +03:00
Cargo.lock Fix: can't delete a 0-point (0 km) track 2026-08-16 20:35:08 +03:00
Cargo.toml Fix: can't delete a 0-point (0 km) track 2026-08-16 20:35:08 +03:00
tauri.conf.json Fix: can't delete a 0-point (0 km) track 2026-08-16 20:35:08 +03:00