diff --git a/frontend/src/routes/(app)/[model=urlmodel]/[id=uuid]/edit/+layout.server.ts b/frontend/src/routes/(app)/[model=urlmodel]/[id=uuid]/edit/+layout.server.ts index 063d5075f..d35adbfed 100644 --- a/frontend/src/routes/(app)/[model=urlmodel]/[id=uuid]/edit/+layout.server.ts +++ b/frontend/src/routes/(app)/[model=urlmodel]/[id=uuid]/edit/+layout.server.ts @@ -29,7 +29,7 @@ export const load: LayoutServerLoad = async (event) => { setFlash( { type: 'error', - message: m.riskAcceptanceStateDoesntAllowEdit({ riskAcceptance: riskAcceptance.name }) + message: m.riskAcceptanceStateDoesntAllowEdit() }, event );