- );
-};
-
-interface IScriptResultProps {
- hostname: string;
- output: string;
-}
-
-const ScriptResult = ({ hostname, output }: IScriptResultProps) => {
- return (
-
-
-
- );
-};
-
+
+);
interface IRunScriptDetailsModalProps {
scriptExecutionId: string;
onCancel: () => void;
@@ -209,6 +200,7 @@ const RunScriptDetailsModal = ({
data.exit_code === null && data.host_timeout === false;
const showOutputText =
!hostTimedOut && !scriptsDisabledForHost && !scriptStillRunning;
+ const ranAdHocScript = data.script_id === null;
content = (
<>
@@ -217,9 +209,13 @@ const RunScriptDetailsModal = ({
exitCode={data.exit_code}
message={data.output}
/>
-