fix: correct vorlageId casing in startExecution, make checklist rows clickable with alternating backgrounds

This commit is contained in:
Matthias Hochmeister
2026-03-28 17:57:45 +01:00
parent a04de62634
commit b62fd55246
2 changed files with 16 additions and 21 deletions

View File

@@ -127,7 +127,7 @@ export const checklistenApi = {
// ── Executions ──
startExecution: async (vorlageId: number, opts: { fahrzeugId?: string; ausruestungId?: string }): Promise<ChecklistAusfuehrung> => {
const r = await api.post('/api/checklisten/ausfuehrungen', {
vorlage_id: vorlageId,
vorlageId: vorlageId,
fahrzeugId: opts.fahrzeugId,
ausruestungId: opts.ausruestungId,
});