diff --git a/frontend/src/resources/deployment/util.tsx b/frontend/src/resources/deployment/util.tsx
index 323552c91..1bf6fa864 100644
--- a/frontend/src/resources/deployment/util.tsx
+++ b/frontend/src/resources/deployment/util.tsx
@@ -1,4 +1,5 @@
import { useRead } from "@hooks";
+import { DockerContainerState } from "@monitor/client/dist/types";
import { BuildName } from "@resources/build/util";
import { ServerName } from "@resources/server/util";
import { cn } from "@util/helpers";
@@ -31,16 +32,16 @@ export const DeploymentStatusIcon = ({
}) => {
const deployments = useRead("ListDeployments", {}).data;
const deployment = deployments?.find((d) => d.id === deploymentId);
- return (
-
- );
+ const s = deployment?.state;
+
+ const color = () => {
+ if (s === DockerContainerState.Running) return "fill-green-500";
+ if (s === DockerContainerState.Paused) return "fill-orange-500";
+ if (s === DockerContainerState.NotDeployed) return "fill-blue-500";
+ return "fill-red-500";
+ };
+
+ return ;
};
export const DeploymentServer = ({