File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
site/src/pages/TemplateSettingsPage Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,10 @@ export const Sidebar: FC<SidebarProps> = ({ template }) => {
33
33
>
34
34
General
35
35
</ SidebarNavItem >
36
- < SidebarNavItem href = "permissions" icon = { SecurityIcon } >
36
+ < SidebarNavItem
37
+ href = { `permissions?orgId=${ template . organization_id } ` }
38
+ icon = { SecurityIcon }
39
+ >
37
40
Permissions
38
41
</ SidebarNavItem >
39
42
< SidebarNavItem
Original file line number Diff line number Diff line change 1
1
import type { FC } from "react" ;
2
2
import { Helmet } from "react-helmet-async" ;
3
3
import { useMutation , useQuery , useQueryClient } from "react-query" ;
4
- import { useSearchParams } from "react-router-dom" ;
5
4
import { setGroupRole , setUserRole , templateACL } from "api/queries/templates" ;
6
5
import { displaySuccess } from "components/GlobalSnackbar/utils" ;
7
6
import { Paywall } from "components/Paywall/Paywall" ;
You can’t perform that action at this time.
0 commit comments