Skip to content

Commit 49bf592

Browse files
authored
Merge pull request #1250 from yaacov/add-status-icons-for-true-and-false
🐞 Add true and false staus icons
2 parents 09c3dee + 3366e8d commit 49bf592

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/forklift-console-plugin/src/components/status/StatusIcon.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import {
66
ExclamationCircleIcon,
77
ExclamationTriangleIcon,
88
InfoCircleIcon,
9+
MinusCircleIcon,
10+
PlusCircleIcon,
911
} from '@patternfly/react-icons';
1012
import { BanIcon } from '@patternfly/react-icons/dist/esm/icons/ban-icon';
1113
import { ClipboardListIcon } from '@patternfly/react-icons/dist/esm/icons/clipboard-list-icon';
@@ -96,6 +98,12 @@ export const StatusIcon: React.FC<{ phase: string }> = ({ phase }) => {
9698
case 'PipelineNotStarted':
9799
return <NotStartedIcon />;
98100

101+
case 'True':
102+
return <PlusCircleIcon />;
103+
104+
case 'False':
105+
return <MinusCircleIcon />;
106+
99107
default:
100108
return <>-</>;
101109
}

0 commit comments

Comments
 (0)