feat: adjustments for Demo Team (team_id = 42)

This commit is contained in:
2025-05-08 07:07:14 +02:00
parent 6378488fd0
commit 1c71df781c
8 changed files with 91 additions and 9 deletions

View File

@@ -4,10 +4,11 @@ import { useSession } from "./Session";
export default function Footer() {
const location = useLocation();
const { user } = useSession();
const { user, teams } = useSession();
return (
<footer className={location.pathname === "/network" ? "fixed-footer" : ""}>
{user?.scopes.split(" ").includes("analysis") && (
{(user?.scopes.split(" ").includes("analysis") ||
teams?.activeTeam === 42) && (
<div className="navbar">
<Link to="/">
<span>Form</span>