mirror of https://github.com/jetkvm/kvm.git
fix: Proper logic for hiding the WebRTC Video stream
This commit is contained in:
parent
b70199cc72
commit
d8e3140fc9
|
|
@ -853,7 +853,7 @@ export default function KvmIdRoute() {
|
|||
/>
|
||||
|
||||
<div className="relative flex h-full w-full overflow-hidden">
|
||||
{!isFailsafeMode && failsafeReason === "video" && <WebRTCVideo />}
|
||||
{(isFailsafeMode && failsafeReason === "video") ? null : <WebRTCVideo />}
|
||||
<div
|
||||
style={{ animationDuration: "500ms" }}
|
||||
className="animate-slideUpFade pointer-events-none absolute inset-0 flex items-center justify-center p-4"
|
||||
|
|
|
|||
Loading…
Reference in New Issue