Skip to content

Commit 8ed9b6f

Browse files
committed
change WAITING text colour to be black
1 parent de0ac0f commit 8ed9b6f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/components/getRunstateColours.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
} from "@/app/components/getRunstateColours";
55

66
test("getForegroundColor when runstate requires white text returns white text", () => {
7-
const runstate = "WAITING";
7+
const runstate = "RESUMING";
88
const result = getForegroundColour(runstate);
99
expect(result).toBe("text-white");
1010
});

app/components/getRunstateColours.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export function getForegroundColour(status: string): string {
1818
"PROCESSING",
1919
"VETOING",
2020
"SETUP",
21+
"WAITING",
2122
];
2223
return blackTextRunstates.includes(status) ? "text-black" : "text-white";
2324
}

0 commit comments

Comments
 (0)