From cd6885c5f28dfae49eabf2be1fb41b8a2dadb3e1 Mon Sep 17 00:00:00 2001
From: PxlLoewe <72106766+PxlLoewe@users.noreply.github.com>
Date: Wed, 1 Oct 2025 23:03:03 +0200
Subject: [PATCH] closes #102
---
.../app/_components/navbar/AdminPanel.tsx | 24 +++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
diff --git a/apps/dispatch/app/_components/navbar/AdminPanel.tsx b/apps/dispatch/app/_components/navbar/AdminPanel.tsx
index 43af976b..ae2d9396 100644
--- a/apps/dispatch/app/_components/navbar/AdminPanel.tsx
+++ b/apps/dispatch/app/_components/navbar/AdminPanel.tsx
@@ -7,6 +7,7 @@ import { getConnectedDispatcherAPI, kickDispatcherAPI } from "_querys/dispatcher
import { getLivekitRooms, kickLivekitParticipant } from "_querys/livekit";
import { ParticipantInfo } from "livekit-server-sdk";
import {
+ Dot,
LockKeyhole,
Plane,
RedoDot,
@@ -144,7 +145,12 @@ export default function AdminPanel() {
{!livekitParticipant ? (
Nicht verbunden
) : (
- {livekitParticipant.room}
+
+ {livekitParticipant.room}{" "}
+ {livekitParticipant?.participant.tracks.some((t) => !t.muted) && (
+