fix: use PATCH for vehicle type update and correct permission check in FahrzeugEinstellungen

This commit is contained in:
Matthias Hochmeister
2026-03-28 17:30:40 +01:00
parent 6b46e97eb6
commit 534a24edbf
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ export default function FahrzeugEinstellungen() {
const { hasPermission } = usePermissionContext();
const { showSuccess, showError } = useNotification();
const canEdit = hasPermission('fahrzeuge:edit');
const canEdit = hasPermission('checklisten:manage_templates');
const { data: fahrzeugTypen = [], isLoading } = useQuery({
queryKey: ['fahrzeug-typen'],