featuer change for calendar

This commit is contained in:
Matthias Hochmeister
2026-03-02 17:26:01 +01:00
parent 314b6c3bed
commit 9a6b9511c8
5 changed files with 129 additions and 19 deletions

View File

@@ -113,5 +113,5 @@ export const bookingApi = {
export function fetchVehicles(): Promise<Fahrzeug[]> {
return api
.get<ApiResponse<Fahrzeug[]>>('/api/vehicles')
.then((r) => r.data.data.filter((v: Fahrzeug) => !v.archived_at));
.then((r) => r.data.data);
}