Added better support for GTM, improved accesibility

This commit is contained in:
2026-10-11 14:46:47 +02:00
parent fd6fb426b3
commit 6be783bc5a
53 changed files with 849 additions and 110 deletions
+2 -2
View File
@@ -35,8 +35,8 @@ export function buildPreventDeleteSystemPage(
assigned && typeof assigned === 'object' ? (assigned as { id?: unknown }).id : assigned
if (assignedId != null && String(assignedId) === String(id)) {
throw new APIError(
`Nie można usunąć strony przypisanej do roli systemowej "${field}". ` +
`Najpierw odłącz rolę w Site Settings.`,
`Cannot delete a page assigned to the system role "${field}". ` +
`Detach the role in Site Settings first.`,
400,
)
}