Add option to include subgroup users to empty (#3445)

This commit is contained in:
Erik Jan de Wit 2022-10-03 12:48:48 +02:00 committed by GitHub
parent 961b8a098d
commit b90487af39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -251,6 +251,12 @@ export const Members = () => {
instructions={isManager ? t("users:emptyInstructions") : undefined} instructions={isManager ? t("users:emptyInstructions") : undefined}
primaryActionText={isManager ? t("addMember") : undefined} primaryActionText={isManager ? t("addMember") : undefined}
onPrimaryAction={() => setAddMembers(true)} onPrimaryAction={() => setAddMembers(true)}
secondaryActions={[
{
text: t("includeSubGroups"),
onClick: () => setIncludeSubGroup(true),
},
]}
/> />
} }
/> />