Hold config state from the generated schedule; avoids desync issues when changing configs and re-exporting data without generating new schedule

This commit is contained in:
2026-02-01 23:23:27 +02:00
parent 98cb9f7f3e
commit 318b7f6450
2 changed files with 9 additions and 9 deletions

View File

@@ -48,11 +48,10 @@
}
async function export_file() {
let config = rota.toDTO();
let schedule = rota.solution;
try {
await invoke("export", { config, schedule });
await invoke("export", { schedule });
} catch (error) {
console.error("Error:", error);
}