Skip to content

Commit

Permalink
Merge pull request #1250 from yaacov/add-status-icons-for-true-and-false
Browse files Browse the repository at this point in the history
🐞 Add true and false staus icons
  • Loading branch information
yaacov authored Jun 30, 2024
2 parents 09c3dee + 3366e8d commit 49bf592
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import {
ExclamationCircleIcon,
ExclamationTriangleIcon,
InfoCircleIcon,
MinusCircleIcon,
PlusCircleIcon,
} from '@patternfly/react-icons';
import { BanIcon } from '@patternfly/react-icons/dist/esm/icons/ban-icon';
import { ClipboardListIcon } from '@patternfly/react-icons/dist/esm/icons/clipboard-list-icon';
Expand Down Expand Up @@ -96,6 +98,12 @@ export const StatusIcon: React.FC<{ phase: string }> = ({ phase }) => {
case 'PipelineNotStarted':
return <NotStartedIcon />;

case 'True':
return <PlusCircleIcon />;

case 'False':
return <MinusCircleIcon />;

default:
return <>-</>;
}
Expand Down

0 comments on commit 49bf592

Please sign in to comment.