diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/coding-rules/components/Facet.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/coding-rules/components/Facet.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/Facet.tsx b/server/sonar-web/src/main/js/apps/coding-rules/components/Facet.tsx index a39e77d2398..2a766236a32 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/components/Facet.tsx +++ b/server/sonar-web/src/main/js/apps/coding-rules/components/Facet.tsx @@ -118,8 +118,9 @@ export default class Facet extends React.PureComponent<Props> { {this.props.children} </FacetHeader> - {this.props.open && - items !== undefined && <FacetItemsList>{items.map(this.renderItem)}</FacetItemsList>} + {this.props.open && items !== undefined && ( + <FacetItemsList>{items.map(this.renderItem)}</FacetItemsList> + )} {this.props.open && this.props.renderFooter !== undefined && this.props.renderFooter()} </FacetBox> |