Added better support for GTM, improved accesibility
This commit is contained in:
@@ -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,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user