fix: correct vorlageId casing in startExecution, make checklist rows clickable with alternating backgrounds
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user