Skip to content

Commit

Permalink
Set route for 'Subordinate IDs' (memberof)
Browse files Browse the repository at this point in the history
The 'Is a member of' > 'Subordinate IDs' section
should have its proper route and be accessible
to the 'Is a member of' tab option.

Signed-off-by: Carla Martinez <[email protected]>
  • Loading branch information
carma12 committed Jun 3, 2024
1 parent db36900 commit a919c78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/navigation/AppRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ export const AppRoutes = (): React.ReactElement => (
path="memberof_sudorule"
element={<ActiveUsersTabs memberof="sudorule" />}
/>
<Route
path="memberof_subid"
element={<ActiveUsersTabs memberof="subid" />}
/>
</Route>
</Route>
<Route path="stage-users">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/ActiveUsers/UserMemberOf.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ const UserMemberOf = (props: PropsToUserMemberOf) => {
/>
</Tab>
<Tab
eventKey={5}
eventKey={"subid"}
name="memberof_subid"
title={
<TabTitleText>
Expand Down

0 comments on commit a919c78

Please sign in to comment.