Skip to content

Commit

Permalink
Applying link fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lotif committed Sep 17, 2024
1 parent 9449cc7 commit 0fbad87
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions florist/app/jobs/details/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,12 @@ export function JobProgress({
serverConfig: string;
status: status;
}): ReactElement {
const [collapsed, setCollapsed] = useState(true);

if (!serverMetrics || !serverConfig) {
return null;
}

const [collapsed, setCollapsed] = useState(true);

const serverMetricsJson = JSON.parse(serverMetrics);
const serverConfigJson = JSON.parse(serverConfig);

Expand Down Expand Up @@ -304,12 +304,13 @@ export function JobProgressDetails({ serverMetrics }: { serverMetrics: Object })
}

export function JobProgressRound({ roundMetrics, index }: { roundMetrics: Object; index: int }): ReactElement {

const [collapsed, setCollapsed] = useState(true);

if (!roundMetrics) {
return null;
}

const [collapsed, setCollapsed] = useState(true);

return (
<div>
<div className="row">
Expand Down

0 comments on commit 0fbad87

Please sign in to comment.