-
-
- {recordingSkill ? (
-
- ) : (
-
- {computerLabel(computer?.mode, active.name)}
-
- )}
- {!recordingSkill && hasControl ? (
- computer?.takeoverRequested ? (
-
- Needs you
-
- ) : (
-
- You have control
-
- )
- ) : null}
-
-
- {composerRunning ? (
-
- ) : null}
- {recordingSkill ? (
-
- ) : hasControl ? (
-
- ) : null}
- {active && !recordingSkill ? (
-
- ) : null}
- {active && !recordingSkill ? (
- {
- await refreshThread(active.id);
- }}
- />
- ) : null}
-
-
-
- {computer?.kind === "desktop" ? (
-
- ) : computer?.state === "running" && embeddedScreenUrl && !computerScreenError ? (
- <>
-
- {active && !hasControl ? (
-
- ) : null}
- {active ? (
-
- ) : null}
- >
- ) : (
-
- {computerScreenError ??
- (computer?.state === "suspended"
- ? t`Computer is asleep`
- : computerLabel(computer?.mode, active.name))}
-
- )}
-