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) && ( + + )} + )} @@ -209,7 +215,12 @@ export default function AdminPanel() { {!livekitParticipant ? ( Nicht verbunden ) : ( - {livekitParticipant.room} + + {livekitParticipant.room}{" "} + {livekitParticipant?.participant.tracks.some((t) => !t.muted) && ( + + )} + )} @@ -274,8 +285,13 @@ export default function AdminPanel() { Nicht verbunden - - {p.room} + + + {p.room} + {p.participant.tracks.some((t) => !t.muted) && ( + + )} +