feat: new nav item for app permissions

This commit is contained in:
2025-06-24 19:04:26 +02:00
parent 3f260b9029
commit 992776b8a6

View File

@ -1,5 +1,13 @@
import { useAuth } from "@/store/auth"; 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 { useCallback, type ReactNode } from "react";
import { useLocation } from "react-router"; import { useLocation } from "react-router";
@ -93,6 +101,12 @@ export const useBarItems = (): [Item[], (item: Item) => boolean] => {
tab: "admin.service-sessions", tab: "admin.service-sessions",
pathname: "/admin/service-sessions", pathname: "/admin/service-sessions",
}, },
{
icon: <KeyRound />,
title: "App Permissions",
tab: "admin.app-permissions",
pathname: "/admin/app-permissions",
},
] ]
: []), : []),
], ],