fix permissions
This commit is contained in:
@@ -112,7 +112,7 @@ export default function BestellungDetail() {
|
||||
const erinnerungen = data?.erinnerungen ?? [];
|
||||
const historie = data?.historie ?? [];
|
||||
|
||||
const canEdit = hasPermission('bestellungen:edit');
|
||||
const canEdit = hasPermission('bestellungen:create');
|
||||
const nextStatus = bestellung ? getNextStatus(bestellung.status) : null;
|
||||
|
||||
// ── Mutations ──
|
||||
|
||||
Reference in New Issue
Block a user