webpack/components/RoundProgress/AggregateStatus.js in foreman_patch-1.1.6.alpha5 vs webpack/components/RoundProgress/AggregateStatus.js in foreman_patch-1.2.0.alpha1
- old
+ new
@@ -17,11 +17,11 @@
</span>
</span>
<span className="card-pf-aggregate-status-notification">
<span id="failed_count">
<span className="pficon pficon-error-circle-o" />
- {progress.error}
+ {progress.failed}
</span>
</span>
<span className="card-pf-aggregate-status-notification">
<span id="running_count">
<span className="pficon pficon-running" />
@@ -29,11 +29,11 @@
</span>
</span>
<span className="card-pf-aggregate-status-notification">
<span id="pending_count">
<span className="pficon pficon-pending" />
- {progress.pending + progress.planned}
+ {progress.pending}
</span>
</span>
<span className="card-pf-aggregate-status-notification">
<span id="cancelled_count">
<span className="pficon pficon-close" />
@@ -44,15 +44,14 @@
</div>
);
AggregateStatus.propTypes = {
progress: PropTypes.shape({
- planned: PropTypes.number,
- pending: PropTypes.number,
- running: PropTypes.number,
success: PropTypes.number,
warning: PropTypes.number,
- error: PropTypes.number,
+ failed: PropTypes.number,
+ running: PropTypes.number,
+ pending: PropTypes.number,
cancelled: PropTypes.number,
}).isRequired,
};
export default AggregateStatus;