Skip to content

Commit

Permalink
fix: "warning" should be orange for config status
Browse files Browse the repository at this point in the history
Fixes #2047
  • Loading branch information
mainawycliffe authored and moshloop committed Jul 4, 2024
1 parent 7fa7d47 commit e01ca48
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Status/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ function getStatusColor(
return "bg-gray-400";
}

if (status === "warning" || status === "warn") {
return "bg-light-orange";
}

if (mixed !== undefined && mixed) {
return "bg-light-orange";
}
Expand All @@ -42,7 +46,6 @@ export function Status({
className = "",
hideText = false
}: StatusProps) {

if (!status && good === undefined && mixed === undefined) {
return null;
}
Expand Down

0 comments on commit e01ca48

Please sign in to comment.