From b0005c670222c7ef8bee27f61b3ccda4d3c6c7e4 Mon Sep 17 00:00:00 2001 From: LandaMm Date: Sun, 15 Jun 2025 18:10:31 +0200 Subject: [PATCH] feat: add new nav item for user sessions --- web/src/hooks/barItems.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/web/src/hooks/barItems.tsx b/web/src/hooks/barItems.tsx index 1b61df5..567ffd3 100644 --- a/web/src/hooks/barItems.tsx +++ b/web/src/hooks/barItems.tsx @@ -1,5 +1,5 @@ import { useAuth } from "@/store/auth"; -import { Blocks, Home, User, Users } from "lucide-react"; +import { Blocks, Home, User, UserLock, Users } from "lucide-react"; import { useCallback, type ReactNode } from "react"; import { useLocation } from "react-router"; @@ -81,6 +81,12 @@ export const useBarItems = (): [Item[], (item: Item) => boolean] => { tab: "admin.users", pathname: "/admin/users", }, + { + icon: , + title: "User Sessions", + tab: "admin.user-sessions", + pathname: "/admin/user-sessions", + }, ] : []), ],