fix: Proper logic for hiding the WebRTC Video stream

This commit is contained in:
Adam Shiervani 2025-11-10 16:37:31 +01:00
parent b70199cc72
commit d8e3140fc9
1 changed files with 1 additions and 1 deletions

View File

@ -853,7 +853,7 @@ export default function KvmIdRoute() {
/> />
<div className="relative flex h-full w-full overflow-hidden"> <div className="relative flex h-full w-full overflow-hidden">
{!isFailsafeMode && failsafeReason === "video" && <WebRTCVideo />} {(isFailsafeMode && failsafeReason === "video") ? null : <WebRTCVideo />}
<div <div
style={{ animationDuration: "500ms" }} style={{ animationDuration: "500ms" }}
className="animate-slideUpFade pointer-events-none absolute inset-0 flex items-center justify-center p-4" className="animate-slideUpFade pointer-events-none absolute inset-0 flex items-center justify-center p-4"