We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0521c8 commit ed8e84fCopy full SHA for ed8e84f
site/src/modules/management/OrganizationSidebarView.tsx
@@ -60,7 +60,9 @@ export const OrganizationSidebarView: FC<SidebarProps> = ({
60
};
61
62
function urlForSubpage(organizationName: string, subpage = ""): string {
63
- return `/organizations/${organizationName}/${subpage}`;
+ return [`/organizations/${organizationName}`, subpage]
64
+ .filter(Boolean)
65
+ .join("/");
66
}
67
68
interface OrganizationsSettingsNavigationProps {
site/src/pages/GroupsPage/GroupsPage.tsx
@@ -78,7 +78,7 @@ export const GroupsPage: FC = () => {
78
<GroupsPageView
79
groups={groupsQuery.data}
80
canCreateGroup={permissions.createGroup}
81
- isTemplateRBACEnabled={groupsEnabled}
+ groupsEnabled={groupsEnabled}
82
/>
83
</>
84
);
0 commit comments