Skip to content

Commit

Permalink
Job: Add a folder icon to the archive link
Browse files Browse the repository at this point in the history
And change the text to "Log Archive"

Signed-off-by: Zack Cerza <[email protected]>
  • Loading branch information
zmc committed Aug 31, 2023
1 parent 49b399c commit 2cbc98c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/Job/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import ScheduleIcon from "@mui/icons-material/Schedule";
import PlayCircleOutlineIcon from "@mui/icons-material/PlayCircleOutline";
import CheckCircleOutlineIcon from "@mui/icons-material/CheckCircleOutline";
import HighlightOffIcon from "@mui/icons-material/HighlightOff";
import FolderIcon from '@mui/icons-material/Folder';
import formatDuration from "date-fns/formatDuration";
import { isValid, parse } from "date-fns";
import Editor from "react-simple-code-editor";
Expand Down Expand Up @@ -83,8 +84,9 @@ function JobHeader({ query }) {
</Typography>
</Grid>
<Grid item xs={12} style={{ display: "flex" }}>
<FolderIcon sx={{ alignSelf: "center", margin: "5px" }} />
<Typography variant="h5">
<Link to={dirName(query.data.log_href)}>Archive</Link>
<Link to={dirName(query.data.log_href)}>Log Archive</Link>
</Typography>
</Grid>
<Grid item xs={4}>
Expand Down

0 comments on commit 2cbc98c

Please sign in to comment.