diff --git a/src/main/frontend/pipeline-console-view/pipeline-console/main/StageNodeLink.tsx b/src/main/frontend/pipeline-console-view/pipeline-console/main/StageNodeLink.tsx
index 6c5a6b02f..a90254d33 100644
--- a/src/main/frontend/pipeline-console-view/pipeline-console/main/StageNodeLink.tsx
+++ b/src/main/frontend/pipeline-console-view/pipeline-console/main/StageNodeLink.tsx
@@ -1,22 +1,24 @@
import React from "react";
export interface StageNodeLinkProps {
- agent: string;
+ agent: string;
}
function getAgentUrl(name: string) {
- // Wrap built-in in brackets
- const id = name == "built-in" ? "(built-in)" : name;
- const rootPath = document.head.dataset.rooturl
- return `${rootPath}/computer/${id}/`;
+ // Wrap built-in in brackets
+ const id = name == "built-in" ? "(built-in)" : name;
+ const rootPath = document.head.dataset.rooturl;
+ return `${rootPath}/computer/${id}/`;
}
-const StageNodeLink = ({agent}: StageNodeLinkProps) => {
- const agentName = agent == "built-in" ? "Jenkins" : agent;
- const href = getAgentUrl(agent);
- return <>
- Running on {agentName}
+const StageNodeLink = ({ agent }: StageNodeLinkProps) => {
+ const agentName = agent == "built-in" ? "Jenkins" : agent;
+ const href = getAgentUrl(agent);
+ return (
+ <>
+ Running on {agentName}
>
+ );
};
export default StageNodeLink;
diff --git a/src/main/frontend/pipeline-console-view/pipeline-console/main/StageView.tsx b/src/main/frontend/pipeline-console-view/pipeline-console/main/StageView.tsx
index d1033e696..9c906351c 100644
--- a/src/main/frontend/pipeline-console-view/pipeline-console/main/StageView.tsx
+++ b/src/main/frontend/pipeline-console-view/pipeline-console/main/StageView.tsx
@@ -92,9 +92,7 @@ const StageSummary = (props: StageSummaryProps) => (
className="detail-icon"
key={`stage-detail-agent-icon-${props.stage.id}`}
/>
-
+