fix(training): keep practice laps in training stats after Reset data

Resetting a running Open Practice deleted its results, the Timing view
recreated an empty result at once, and the next save rebuilt that
session's training laps from nothing - wiping every earlier lap from
the drivers' stats. Reset now syncs first and records resultsResetAt;
laps from before it are kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
larssand
2026-10-03 23:13:58 +02:00
parent 8b63dd2372
commit 3cc4fa0845
10 changed files with 141 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "rc-racecore",
"version": "1.29.1",
"version": "1.29.2",
"private": true,
"description": "RC RaceCore live timing and race control with AMMC ingest and SQLite persistence",
"engines": {