mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-19 00:12:18 +00:00
fix(workouts): report manual saves through the outcome module and register the delete
A repeated submit that wrote nothing reads as a neutral notice rather than a success. The delete control is entered in the destructive-control registry, and its 409 code in the published error catalogue. Refs #1085
This commit is contained in:
1 parent
cfbb57ab3e
commit
6eb79a1d47
4 files changed
+22
-9
No files matched your search
@@ -380,6 +380,13 @@ const REGISTRY: DestructiveEntry[] = [
|
||||
recovery: "tombstoned-no-restore",
|
||||
confirm: ["AlertDialog"],
|
||||
},
|
||||
{
|
||||
file: "components/workouts/delete-workout-button.tsx",
|
||||
destroys:
|
||||
"one workout entered by hand, with the personal records it set; synced workouts are refused by the route",
|
||||
recovery: "permanent",
|
||||
confirm: ["AlertDialog"],
|
||||
},
|
||||
|
||||
// ── Visits and the address book ─────────────────────────────────────────
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user