fix cant turn off browser session browser (#3421)

This commit is contained in:
LawyZheng
2025-09-12 22:35:31 +08:00
committed by GitHub
parent 3293230e63
commit c876566c57

View File

@@ -139,7 +139,7 @@ function Workspace({
const enableDebugBrowser = useMemo(() => {
return (
showBrowser || (activeDebugSession?.vnc_streaming_supported ?? false)
showBrowser && (activeDebugSession?.vnc_streaming_supported ?? false)
);
}, [showBrowser, activeDebugSession?.vnc_streaming_supported]);