From e187314b1f10ae1b44140b7febc6eb00f03d9b74 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Fri, 3 Sep 2021 16:40:59 +0200 Subject: [PATCH] added user role mapping tab to user details (#1075) * added user role mapping tab to user details * fix imports to admin client * Update src/user/UserRoleMapping.tsx Co-authored-by: Jon Koops * Update src/user/UserRoleMapping.tsx Co-authored-by: Jon Koops * added await * fixed merge error Co-authored-by: Jon Koops --- src/groups/messages.ts | 1 - src/realm-roles/UsersInRoleTab.tsx | 4 +- src/realm-roles/messages.ts | 1 - src/realm-settings/KeysProvidersTab.tsx | 2 +- src/user/UserRoleMapping.tsx | 101 ++++++++++++++++++++++++ src/user/UsersTabs.tsx | 12 ++- src/user/messages.ts | 1 + 7 files changed, 115 insertions(+), 7 deletions(-) create mode 100644 src/user/UserRoleMapping.tsx diff --git a/src/groups/messages.ts b/src/groups/messages.ts index a634308038..c104825cf7 100644 --- a/src/groups/messages.ts +++ b/src/groups/messages.ts @@ -1,6 +1,5 @@ export default { groups: { - groups: "Groups", groupDetails: "Group details", childGroups: "Child groups", createGroup: "Create group", diff --git a/src/realm-roles/UsersInRoleTab.tsx b/src/realm-roles/UsersInRoleTab.tsx index 2b052a7725..9def2f0ccd 100644 --- a/src/realm-roles/UsersInRoleTab.tsx +++ b/src/realm-roles/UsersInRoleTab.tsx @@ -61,7 +61,7 @@ export const UsersInRoleTab = () => { variant="link" onClick={() => history.push(`/${realm}/groups`)} > - {t("groups")} + {t("common:groups")} {t("or")} {t("or")}