Add plate calibration to backup and fix directory creation

- Add "Plate Detection" option to backup modal for exporting empty plate
  reference images (requires Printers to be selected)
- Add parents=True to mkdir calls in config.py to create full directory
  tree on first run (fixes startup crash when data dir doesn't exist)
- Update BackupModal test to use exact match for "Printers" text
This commit is contained in:
maziggy
2026-01-27 12:30:15 +01:00
parent 8f30f08559
commit 30f7d41ec3
3 changed files with 30 additions and 10 deletions
+1
View File
@@ -2214,6 +2214,7 @@ export const api = {
if (categories.smart_plugs !== undefined) params.set('include_smart_plugs', String(categories.smart_plugs));
if (categories.external_links !== undefined) params.set('include_external_links', String(categories.external_links));
if (categories.printers !== undefined) params.set('include_printers', String(categories.printers));
if (categories.plate_calibration !== undefined) params.set('include_plate_calibration', String(categories.plate_calibration));
if (categories.filaments !== undefined) params.set('include_filaments', String(categories.filaments));
if (categories.maintenance !== undefined) params.set('include_maintenance', String(categories.maintenance));
if (categories.archives !== undefined) params.set('include_archives', String(categories.archives));