diff --git a/src/ui/React/LogBoxManager.tsx b/src/ui/React/LogBoxManager.tsx
index af2d6b30e..3f3937e9a 100644
--- a/src/ui/React/LogBoxManager.tsx
+++ b/src/ui/React/LogBoxManager.tsx
@@ -267,12 +267,11 @@ function LogWindow(props: IProps): React.ReactElement {
{title()}
- {!workerScripts.has(script.pid) && (
+ {!workerScripts.has(script.pid) ? (
- )}
- {workerScripts.has(script.pid) && (
+ ) : (