aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/ExecStatusIndicatorIcon.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-12 05:54:49 +0900
committernsfisis <nsfisis@gmail.com>2024-08-12 05:54:49 +0900
commit3074f8d74330a2c238040755b758230d682a4bc4 (patch)
tree3c45267ee25aa78be1ad4c31e0c09894e656b506 /frontend/app/components/ExecStatusIndicatorIcon.tsx
parent7527e54bba0c528015ce402bfa4534c1ab6ca1da (diff)
parentb37d6f213c2f3b19631e5067f39a7106859faaed (diff)
downloadiosdc-japan-2025-albatross-3074f8d74330a2c238040755b758230d682a4bc4.tar.gz
iosdc-japan-2025-albatross-3074f8d74330a2c238040755b758230d682a4bc4.tar.zst
iosdc-japan-2025-albatross-3074f8d74330a2c238040755b758230d682a4bc4.zip
Merge branch 'feat/play-page'
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