Skip to content

Commit

Permalink
Update status indicator icons
Browse files Browse the repository at this point in the history
  • Loading branch information
jportner committed Aug 26, 2020
1 parent a55065b commit bb9e3de
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const CopyStatusIndicator = (props: Props) => {
defaultMessage="Saved object copied successfully."
/>
);
return <EuiIconTip type={'check'} color={'success'} content={message} />;
return <EuiIconTip type={'checkInCircleFilled'} color={'success'} content={message} />;
}

if (successful && pendingObjectRetry) {
Expand Down Expand Up @@ -74,7 +74,7 @@ export const CopyStatusIndicator = (props: Props) => {
if (hasUnresolvableErrors) {
return (
<EuiIconTip
type={'cross'}
type={'alert'}
color={'danger'}
data-test-subj={`cts-object-result-error-${objectResult.id}`}
content={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const renderIcon = (props: Props) => {
if (successful) {
return (
<EuiIconTip
type={'check'}
type={'checkInCircleFilled'}
color={'success'}
iconProps={{
'data-test-subj': getDataTestSubj('success'),
Expand All @@ -66,7 +66,7 @@ const renderIcon = (props: Props) => {
if (hasUnresolvableErrors) {
return (
<EuiIconTip
type={'cross'}
type={'alert'}
color={'danger'}
iconProps={{
'data-test-subj': getDataTestSubj('failed'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ describe('CopyToSpaceFlyout', () => {
values={Object {}}
/>,
"data-test-subj": "cts-object-result-error-my-viz",
"type": "cross",
"type": "alert",
}
`);

Expand Down

0 comments on commit bb9e3de

Please sign in to comment.