fix(fitness): restore SSE mirror-finish without racing local summary

Reapplies the e87b8bd8 mirror-finish behaviour (saved session is
broadcast on Finish so other devices can render the completion overview)
behind a _finishingLocally guard. workout.finish() flips workout.active
synchronously, but completionData is only set after the awaited POST
resolves — without the guard, the redirect effect fired in that gap and
navigated away before the summary could render on desktop.
This commit is contained in:
2026-05-12 17:40:41 +02:00
parent 8c09b0b2f4
commit 928774084f
4 changed files with 81 additions and 11 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "homepage",
"version": "1.70.1",
"version": "1.70.2",
"private": true,
"type": "module",
"scripts": {