Skip to content

Commit

Permalink
fix(custom-target): validation icons should have correct color (#1390)
Browse files Browse the repository at this point in the history
Signed-off-by: Thuan Vo <[email protected]>
  • Loading branch information
tthvo authored Sep 18, 2024
1 parent 2642dff commit f443bbc
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 f443bbc

Please sign in to comment.