sessions #2

Merged
admin merged 63 commits from sessions into main 2025-06-16 19:03:01 +02:00
44 changed files with 1907 additions and 139 deletions
Showing only changes of commit b0005c6702 - Show all commits

View File

@ -1,5 +1,5 @@
import { useAuth } from "@/store/auth"; 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 { useCallback, type ReactNode } from "react";
import { useLocation } from "react-router"; import { useLocation } from "react-router";
@ -81,6 +81,12 @@ export const useBarItems = (): [Item[], (item: Item) => boolean] => {
tab: "admin.users", tab: "admin.users",
pathname: "/admin/users", pathname: "/admin/users",
}, },
{
icon: <UserLock />,
title: "User Sessions",
tab: "admin.user-sessions",
pathname: "/admin/user-sessions",
},
] ]
: []), : []),
], ],