From 992776b8a64b53587c99ad995549ae2a9b81c78a Mon Sep 17 00:00:00 2001 From: LandaMm Date: Tue, 24 Jun 2025 19:04:26 +0200 Subject: [PATCH] feat: new nav item for app permissions --- web/src/hooks/barItems.tsx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/web/src/hooks/barItems.tsx b/web/src/hooks/barItems.tsx index 086bbf0..a910823 100644 --- a/web/src/hooks/barItems.tsx +++ b/web/src/hooks/barItems.tsx @@ -1,5 +1,13 @@ import { useAuth } from "@/store/auth"; -import { Blocks, EarthLock, Home, User, UserLock, Users } from "lucide-react"; +import { + Blocks, + EarthLock, + Home, + KeyRound, + User, + UserLock, + Users, +} from "lucide-react"; import { useCallback, type ReactNode } from "react"; import { useLocation } from "react-router"; @@ -93,6 +101,12 @@ export const useBarItems = (): [Item[], (item: Item) => boolean] => { tab: "admin.service-sessions", pathname: "/admin/service-sessions", }, + { + icon: , + title: "App Permissions", + tab: "admin.app-permissions", + pathname: "/admin/app-permissions", + }, ] : []), ],