mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-28 06:40:57 +00:00
changes
This commit is contained in:
@@ -40,7 +40,7 @@ export const formatFleetCell = (
|
||||
if (s === "INACTIVE") return "gray";
|
||||
if (s === "SUSPENDED" || s === "OUT_OF_SERVICE") return "red";
|
||||
if (s === "MAINTENANCE" || s === "ON_LEAVE") return "orange";
|
||||
if (s === "RETIRED") return "gray";
|
||||
if (s === "RETIRED" || s === "DETAINED") return "gray";
|
||||
return "gray";
|
||||
};
|
||||
const color = getStatusColor(status);
|
||||
|
||||
Reference in New Issue
Block a user