Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ interface Props {
open: boolean;
onClose: () => void;
onSubmit: (userIds: string[]) => void;
groupName: string;
}

const GroupManageUsers: FunctionComponent<Props> = ({
initialState = [],
open,
onClose,
onSubmit,
groupName,
}) => {
// Standard hooks
const { t } = useFormatter();
Expand Down Expand Up @@ -90,7 +92,7 @@ const GroupManageUsers: FunctionComponent<Props> = ({
<Drawer
open={open}
handleClose={handleClose}
title={t('Manage the users of this group')}
title={t('Users of {groupName}', { groupName })}
variant="full"
>
<Box sx={{ marginTop: 2 }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ class GroupPopoverComponent extends Component {
open={this.state.openUsers}
onClose={this.handleCloseUsers.bind(this)}
onSubmit={this.submitUpdateUsers.bind(this)}
groupName={group.group_name}
/>
<GroupManageRoles
initialState={this.state.rolesIds}
Expand Down
Loading