closes #102
This commit is contained in:
@@ -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 ? (
|
||||
<span className="text-error">Nicht verbunden</span>
|
||||
) : (
|
||||
<span className="text-success">{livekitParticipant.room}</span>
|
||||
<span className="text-success inline-flex items-center">
|
||||
{livekitParticipant.room}{" "}
|
||||
{livekitParticipant?.participant.tracks.some((t) => !t.muted) && (
|
||||
<Dot className="text-warning ml-2" />
|
||||
)}
|
||||
</span>
|
||||
)}
|
||||
</td>
|
||||
<td className="flex gap-2">
|
||||
@@ -209,7 +215,12 @@ export default function AdminPanel() {
|
||||
{!livekitParticipant ? (
|
||||
<span className="text-error">Nicht verbunden</span>
|
||||
) : (
|
||||
<span className="text-success">{livekitParticipant.room}</span>
|
||||
<span className="text-success inline-flex items-center">
|
||||
{livekitParticipant.room}{" "}
|
||||
{livekitParticipant?.participant.tracks.some((t) => !t.muted) && (
|
||||
<Dot className="text-warning ml-2" />
|
||||
)}
|
||||
</span>
|
||||
)}
|
||||
</td>
|
||||
<td className="flex gap-2">
|
||||
@@ -274,8 +285,13 @@ export default function AdminPanel() {
|
||||
<td>
|
||||
<span className="text-error">Nicht verbunden</span>
|
||||
</td>
|
||||
<td>
|
||||
<span className="text-success">{p.room}</span>
|
||||
<td className="flex">
|
||||
<span className="text-success inline-flex items-center">
|
||||
{p.room}
|
||||
{p.participant.tracks.some((t) => !t.muted) && (
|
||||
<Dot className="text-warning ml-2" />
|
||||
)}
|
||||
</span>
|
||||
</td>
|
||||
<td className="flex gap-2">
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user