From 8f08101d9dc19e84c998480d300c66023c6f7258 Mon Sep 17 00:00:00 2001 From: agagancarczyk Date: Wed, 31 Aug 2022 09:11:24 +0100 Subject: [PATCH] fixed realm roles breadcrum (#3239) Co-authored-by: Agnieszka Gancarczyk --- apps/admin-ui/public/resources/en/roles.json | 1 + apps/admin-ui/src/realm-roles/routes/RealmRoles.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/admin-ui/public/resources/en/roles.json b/apps/admin-ui/public/resources/en/roles.json index 2e507af7e8..02ab0b89f4 100644 --- a/apps/admin-ui/public/resources/en/roles.json +++ b/apps/admin-ui/public/resources/en/roles.json @@ -21,6 +21,7 @@ "deleteRole": "Delete this role", "inheritedFrom": "Inherited from", "roleList": "Role list", + "realmRolesList": "Realm roles", "searchFor": "Search role by name", "generalSettings": "General Settings", "capabilityConfig": "Capability config", diff --git a/apps/admin-ui/src/realm-roles/routes/RealmRoles.ts b/apps/admin-ui/src/realm-roles/routes/RealmRoles.ts index 7406012cba..dbdfed4a06 100644 --- a/apps/admin-ui/src/realm-roles/routes/RealmRoles.ts +++ b/apps/admin-ui/src/realm-roles/routes/RealmRoles.ts @@ -8,7 +8,7 @@ export type RealmRolesParams = { realm: string }; export const RealmRolesRoute: RouteDef = { path: "/:realm/roles", component: lazy(() => import("../RealmRolesSection")), - breadcrumb: (t) => t("roles:roleList"), + breadcrumb: (t) => t("roles:realmRolesList"), access: "view-realm", };