Skip to content

Commit

Permalink
replace fetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
yangw-dev committed Feb 13, 2025
1 parent c2f3cc1 commit 9465ce3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions torchci/components/WorkflowBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ function sortJobsByConclusion(jobA: JobData, jobB: JobData): number {
// Jobs with the same conclusion are sorted alphabetically
return ("" + jobA.jobName).localeCompare("" + jobB.jobName); // the '' forces the type to be a string
}
const CustomIoMdArrowDropdownShow = styled(IoMdArrowDropdown)({
fontSize: "10px",
});

const JobButton = styled(Button)({
fontSize: "8px",
Expand Down Expand Up @@ -91,7 +88,7 @@ function WorkflowJobSummary({
if (hasArtifacts) {
subInfo.push(
<JobButton variant="outlined" onClick={() => setArtifactsToShowHelper()}>
<CustomIoMdArrowDropdownShow /> artifacts
artifacts
</JobButton>
);
}
Expand Down Expand Up @@ -131,7 +128,7 @@ function WorkflowJobSummary({
return (
<span key={ind}>
{info}
{ind < subInfo.length - 1}
{ind < subInfo.length - 1 && " "}
</span>
);
})}
Expand Down

0 comments on commit 9465ce3

Please sign in to comment.