aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/ExecStatusIndicatorIcon.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/components/ExecStatusIndicatorIcon.tsx')
-rw-r--r--frontend/app/components/ExecStatusIndicatorIcon.tsx8
1 files changed, 7 insertions, 1 deletions
diff --git a/frontend/app/components/ExecStatusIndicatorIcon.tsx b/frontend/app/components/ExecStatusIndicatorIcon.tsx
index a76e957..5277bfa 100644
--- a/frontend/app/components/ExecStatusIndicatorIcon.tsx
+++ b/frontend/app/components/ExecStatusIndicatorIcon.tsx
@@ -1,17 +1,23 @@
import {
faBan,
+ faCircle,
faCircleCheck,
faCircleExclamation,
faRotate,
} from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
+import type { ExecResultStatus } from "../models/ExecResult";
type Props = {
- status: string;
+ status: ExecResultStatus;
};
export default function ExecStatusIndicatorIcon({ status }: Props) {
switch (status) {
+ case "waiting_submission":
+ return (
+ <FontAwesomeIcon icon={faCircle} fixedWidth className="text-gray-400" />
+ );
case "running":
return (
<FontAwesomeIcon