Skip to content

Commit 2cb6aed

Browse files
committed
fix one more place
1 parent 4412186 commit 2cb6aed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

site/src/pages/TemplateVersionEditorPage/TemplateVersionStatusBadge.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,25 +37,25 @@ export const getStatus = (
3737
switch (version.job.status) {
3838
case "running":
3939
return {
40-
type: "info",
40+
type: "active",
4141
text: "Running",
4242
icon: <PillSpinner />,
4343
};
4444
case "pending":
4545
return {
46-
type: "info",
46+
type: "active",
4747
text: getPendingStatusLabel(version.job),
4848
icon: <QueuedIcon />,
4949
};
5050
case "canceling":
5151
return {
52-
type: "warning",
52+
type: "inactive",
5353
text: "Canceling",
5454
icon: <PillSpinner />,
5555
};
5656
case "canceled":
5757
return {
58-
type: "warning",
58+
type: "inactive",
5959
text: "Canceled",
6060
icon: <ErrorIcon />,
6161
};

0 commit comments

Comments
 (0)