Skip to content

Commit ac8da8c

Browse files
committed
fix: cleanup
1 parent cedd551 commit ac8da8c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

site/src/pages/TemplateSettingsPage/Sidebar.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ export const Sidebar: FC<SidebarProps> = ({ template }) => {
3333
>
3434
General
3535
</SidebarNavItem>
36-
<SidebarNavItem href="permissions" icon={SecurityIcon}>
36+
<SidebarNavItem
37+
href={`permissions?orgId=${template.organization_id}`}
38+
icon={SecurityIcon}
39+
>
3740
Permissions
3841
</SidebarNavItem>
3942
<SidebarNavItem

site/src/pages/TemplateSettingsPage/TemplatePermissionsPage/TemplatePermissionsPage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import type { FC } from "react";
22
import { Helmet } from "react-helmet-async";
33
import { useMutation, useQuery, useQueryClient } from "react-query";
4-
import { useSearchParams } from "react-router-dom";
54
import { setGroupRole, setUserRole, templateACL } from "api/queries/templates";
65
import { displaySuccess } from "components/GlobalSnackbar/utils";
76
import { Paywall } from "components/Paywall/Paywall";

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy