Skip to content

Commit

Permalink
fix(custom-target): validation icons should have correct color
Browse files Browse the repository at this point in the history
Signed-off-by: Thuan Vo <[email protected]>
  • Loading branch information
tthvo committed Sep 18, 2024
1 parent 064f927 commit d7a8625
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/Topology/Actions/CreateTarget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -457,12 +457,12 @@ export const SampleNodeDonut: React.FC<SampleNodeDonutProps> = ({
}
return validation.option === ValidatedOptions.success
? {
icon: <CheckCircleIcon color="var(--pf-global--success-color--100)" />,
icon: <CheckCircleIcon color="var(--pf-v5-global--success-color--100)" />,
message: 'Target definition is valid.',
}
: validation.option === ValidatedOptions.error
? {
icon: <ExclamationCircleIcon color="var(--pf-global--danger-color--100)" />,
icon: <ExclamationCircleIcon color="var(--pf-v5-global--danger-color--100)" />,
message: validation.errorMessage,
}
: { icon: <PendingIcon />, message: '' };
Expand Down

0 comments on commit d7a8625

Please sign in to comment.