webpack/scenes/ContentViews/components/IconWithCount.js in katello-4.0.3 vs webpack/scenes/ContentViews/components/IconWithCount.js in katello-4.1.0.rc1
- old
+ new
@@ -8,10 +8,10 @@
{count}
</React.Fragment>
);
IconWithCount.propTypes = {
- count: PropTypes.number.isRequired,
+ count: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
title: PropTypes.string.isRequired,
Icon: PropTypes.elementType.isRequired,
};
export default IconWithCount;