fix(07): CR-01 rename import return field imported→count to match frontend
Tessera CI/CD / Lint & Type Check (push) Failing after 37s
Tessera CI/CD / Tests (push) Has been skipped
Tessera CI/CD / Build & Deploy (push) Has been skipped

Backend dkv.service.ts returned { imported } but frontend read result.count,
causing the success toast to always display "undefined Fahrzeuge importiert".
Align backend field name to count and update the dkv-api.ts return type to
include mode for completeness.
This commit is contained in:
2026-06-27 17:19:44 +02:00
parent d93819fa27
commit f3f610f9e1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -498,7 +498,7 @@ export class DkvService {
}
this.logger.log(`DKV CSV import: ${vehicles.length} vehicles, mode=${mode}, tenant=${tenantId}`);
return { imported: vehicles.length, mode };
return { count: vehicles.length, mode };
}
// ─── History ─────────────────────────────────────────────────────────────────