From b90487af392be8363aa2d2a3f59eb114e444f853 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Mon, 3 Oct 2022 12:48:48 +0200 Subject: [PATCH] Add option to include subgroup users to empty (#3445) --- apps/admin-ui/src/groups/Members.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/admin-ui/src/groups/Members.tsx b/apps/admin-ui/src/groups/Members.tsx index f025737b21..28a8435d59 100644 --- a/apps/admin-ui/src/groups/Members.tsx +++ b/apps/admin-ui/src/groups/Members.tsx @@ -251,6 +251,12 @@ export const Members = () => { instructions={isManager ? t("users:emptyInstructions") : undefined} primaryActionText={isManager ? t("addMember") : undefined} onPrimaryAction={() => setAddMembers(true)} + secondaryActions={[ + { + text: t("includeSubGroups"), + onClick: () => setIncludeSubGroup(true), + }, + ]} /> } />