webpack/scenes/ContentViews/Details/Repositories/LastSync.js in katello-4.1.4 vs webpack/scenes/ContentViews/Details/Repositories/LastSync.js in katello-4.2.0.rc1
- old
+ new
@@ -1,7 +1,7 @@
import React, { Fragment } from 'react';
-import { CheckCircleIcon, ExclamationTriangleIcon, CloseIcon, InProgressIcon } from '@patternfly/react-icons';
+import { CheckCircleIcon, ExclamationTriangleIcon, ExclamationCircleIcon, InProgressIcon } from '@patternfly/react-icons';
import { foremanUrl } from 'foremanReact/common/helpers';
import PropTypes from 'prop-types';
import InactiveText from '../../components/InactiveText';
const LastSync = ({ lastSyncWords, lastSync, emptyMessage }) => {
@@ -15,12 +15,12 @@
color = 'green';
} else if (result === 'warning') {
Icon = ExclamationTriangleIcon;
color = 'orange';
} else if (result === 'error' || result === 'failed') {
- Icon = CloseIcon;
+ Icon = ExclamationCircleIcon;
color = 'red';
- } else if (result === 'in progress') {
+ } else if (result === 'in progress' || result === 'pending') {
Icon = InProgressIcon;
color = 'blue';
} else {
Icon = Fragment;
}