fix(settings): make data imports real buttons and confirm the full import

The JSON imports were bare file inputs next to the export buttons and
didn't read as imports. They are now buttons like the CSV imports; the
full import asks before it replaces all race data.
This commit is contained in:
larssand committed 2026-10-23 08:05:57 +02:00
1 parent f4dc3bb5bd
commit f51aa0ba37
4 files changed
+50 -5

No files matched your search

+3 -1
View File
@@ -6,7 +6,9 @@ The application version is maintained in `package.json` and displayed in the adm
## Unreleased
No changes recorded yet.
### Changed
- **Import is a button next to each export** under Settings → System & backup: **Import all race data** and **Import drivers/classes/cars**, like the CSV imports. They used to be bare "Choose file" fields that didn't read as an import. The full import now asks before it replaces all race data (the backup is still taken first), and the same file can be picked again.
## 1.42.0 - 2026-10-22