Skip to content

Commit

Permalink
refactor: Update WorkflowStatusElement to use Blue color for success …
Browse files Browse the repository at this point in the history
…status
  • Loading branch information
simlarsen committed Sep 4, 2024
1 parent 2589147 commit e907c23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Common/UI/Components/Workflow/WorkflowStatus.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Pill from "../Pill/Pill";
import { Green, Red, Yellow } from "Common/Types/BrandColors";
import { Blue, Red, Yellow } from "Common/Types/BrandColors";
import WorkflowStatus from "Common/Types/Workflow/WorkflowStatus";
import React, { FunctionComponent, ReactElement } from "react";

Expand All @@ -11,7 +11,7 @@ const WorkflowStatusElement: FunctionComponent<ComponentProps> = (
props: ComponentProps,
): ReactElement => {
if (props.status === WorkflowStatus.Success) {
return <Pill color={Green} text="Success" />;
return <Pill color={Blue} text="Executed" />;
}
if (props.status === WorkflowStatus.Running) {
return <Pill color={Yellow} text="Running" />;
Expand Down

0 comments on commit e907c23

Please sign in to comment.