Skip to content

Commit

Permalink
fixup! Add rolling CV icons
Browse files Browse the repository at this point in the history
Fix test failures from previous commit
  • Loading branch information
quba42 committed Jan 14, 2025
1 parent 1f05d4f commit df224e9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ ContentViewEnvironmentDisplay.propTypes = {
name: PropTypes.string,
id: PropTypes.number,
composite: PropTypes.bool,
rolling: PropTypes.bool,
}).isRequired,
lifecycleEnvironment: PropTypes.shape({
name: PropTypes.string,
Expand Down
1 change: 1 addition & 0 deletions webpack/scenes/ContentViews/Publish/CVPublishReview.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ CVPublishReview.propTypes = {
]).isRequired,
name: PropTypes.string.isRequired,
composite: PropTypes.bool.isRequired,
rolling: PropTypes.bool.isRequired,
next_version: PropTypes.oneOfType([
PropTypes.number,
PropTypes.string,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const ContentViewSelectOption = ({ cv, env, value }) => (
>
<ContentViewIcon
composite={cv.composite}
rolling={cv.rolling}
rolling={cv.rolling}
size="sm"
/>
<Flex
Expand All @@ -79,6 +79,7 @@ ContentViewSelectOption.propTypes = {
id: PropTypes.number.isRequired,
name: PropTypes.string.isRequired,
composite: PropTypes.bool.isRequired,
rolling: PropTypes.bool.isRequired,
}).isRequired,
env: PropTypes.shape({
id: PropTypes.number.isRequired,
Expand Down
2 changes: 1 addition & 1 deletion webpack/scenes/SmartProxy/ExpandableCvDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const ExpandableCvDetails = ({
<Td>
<ContentViewIcon
composite={composite}
rolling={rolling}
rolling={rolling}
description={<a href={cv.default ? urlBuilder('products', '') : urlBuilder('content_views', '', id)}>{cvName}</a>}
/>
</Td>
Expand Down

0 comments on commit df224e9

Please sign in to comment.