Explorar el Código

add stop color

visuddhinanda hace 1 año
padre
commit
f9e40828fd
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      dashboard-v4/dashboard/src/components/task/TaskStatus.tsx

+ 3 - 0
dashboard-v4/dashboard/src/components/task/TaskStatus.tsx

@@ -55,6 +55,9 @@ const TaskStatus = ({ task }: IWidget) => {
     case "requested_restart":
       color = "warning";
       break;
+    case "stop":
+      color = "error";
+      break;
   }
 
   return (