From 5ee89ea15ade80bc1d88e0bbe6b13e9c497f9719 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Tue, 18 Jul 2023 10:30:04 +0200 Subject: [PATCH] made added groups browsable (#21588) fixes: #21173 --- js/apps/admin-ui/src/components/group/GroupPickerDialog.tsx | 6 +----- js/apps/admin-ui/src/user/user-section.css | 4 ---- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/js/apps/admin-ui/src/components/group/GroupPickerDialog.tsx b/js/apps/admin-ui/src/components/group/GroupPickerDialog.tsx index 5b9e9f9693..637e3867c0 100644 --- a/js/apps/admin-ui/src/components/group/GroupPickerDialog.tsx +++ b/js/apps/admin-ui/src/components/group/GroupPickerDialog.tsx @@ -301,14 +301,10 @@ const GroupRow = ({ return ( { - if (isRowDisabled(group)) return; if (type === "selectOne") { onSelect(group.id!); } else if ( @@ -369,7 +365,7 @@ const GroupRow = ({ isPlainButtonAction > {((hasSubgroups(group) && canBrowse) || type === "selectOne") && ( - )} diff --git a/js/apps/admin-ui/src/user/user-section.css b/js/apps/admin-ui/src/user/user-section.css index e071655125..b9324f9323 100644 --- a/js/apps/admin-ui/src/user/user-section.css +++ b/js/apps/admin-ui/src/user/user-section.css @@ -20,10 +20,6 @@ button#kc-join-groups-button { margin-right: var(--pf-global--spacer--sm); } -.join-group-dialog-row-disabled { - cursor: not-allowed; -} - .join-group-dialog-row-m-disabled { pointer-events: none; color: var(--pf-global--Color--200);