Fixed styling
This commit is contained in:
parent
70d8644ead
commit
d4acc497f1
2 changed files with 8 additions and 8 deletions
|
@ -68,8 +68,8 @@
|
||||||
"nodemon": "^2.0.15",
|
"nodemon": "^2.0.15",
|
||||||
"react": "^18.1.0",
|
"react": "^18.1.0",
|
||||||
"react-dom": "^18.1.0",
|
"react-dom": "^18.1.0",
|
||||||
"@vitejs/plugin-react": "1.1.1",
|
"@vitejs/plugin-react": "1.1.1",
|
||||||
"vite": "2.7.0",
|
"vite": "2.7.0",
|
||||||
"readline-sync": "^1.4.10",
|
"readline-sync": "^1.4.10",
|
||||||
"rollup": "^2.72.0",
|
"rollup": "^2.72.0",
|
||||||
"rollup-plugin-terser": "^7.0.2"
|
"rollup-plugin-terser": "^7.0.2"
|
||||||
|
|
|
@ -75,7 +75,7 @@ export default function FailingBox(props) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const retryTest = () => retrySingle(failingTest);
|
const retryTest = () => retrySingle(failingTest);
|
||||||
|
|
||||||
const jobOnClick = () => {
|
const jobOnClick = () => {
|
||||||
switch (testJobStatus) {
|
switch (testJobStatus) {
|
||||||
case jobStatus.OK:
|
case jobStatus.OK:
|
||||||
|
@ -92,9 +92,9 @@ export default function FailingBox(props) {
|
||||||
return null;
|
return null;
|
||||||
default:
|
default:
|
||||||
return retryTest;
|
return retryTest;
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
function jobIcon() {
|
function jobIcon() {
|
||||||
switch (testJobStatus) {
|
switch (testJobStatus) {
|
||||||
case jobStatus.OK:
|
case jobStatus.OK:
|
||||||
|
@ -104,9 +104,9 @@ export default function FailingBox(props) {
|
||||||
case jobStatus.PENDING:
|
case jobStatus.PENDING:
|
||||||
return <PendingIcon color="info" />;
|
return <PendingIcon color="info" />;
|
||||||
case jobStatus.ACTIVE:
|
case jobStatus.ACTIVE:
|
||||||
return <VisibilityIcon color="primary"/>;
|
return <VisibilityIcon color="primary" />;
|
||||||
case jobStatus.CANCELED:
|
case jobStatus.CANCELED:
|
||||||
return <DoNotDisturbIcon color="warning"/>;
|
return <DoNotDisturbIcon color="warning" />;
|
||||||
case jobStatus.QUEUED:
|
case jobStatus.QUEUED:
|
||||||
return <ViewColumnIcon color="secondary" />;
|
return <ViewColumnIcon color="secondary" />;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue