aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/issues/sidebar/Sidebar.js
diff options
context:
space:
mode:
authorStas Vilchik <stas-vilchik@users.noreply.github.com>2017-04-20 11:10:13 +0200
committerGitHub <noreply@github.com>2017-04-20 11:10:13 +0200
commitf6e90fdc19e222b3b238f0f5995a8039b7db158e (patch)
tree69c22415cb50a650b046ce4b9a9ac99e57695dfd /server/sonar-web/src/main/js/apps/issues/sidebar/Sidebar.js
parent36c9fa041018d7eed91f1d22e0c5eda075737ebc (diff)
downloadsonarqube-f6e90fdc19e222b3b238f0f5995a8039b7db158e.tar.gz
sonarqube-f6e90fdc19e222b3b238f0f5995a8039b7db158e.zip
upgrade prettier (#1954)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/sidebar/Sidebar.js')
-rw-r--r--server/sonar-web/src/main/js/apps/issues/sidebar/Sidebar.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/sidebar/Sidebar.js b/server/sonar-web/src/main/js/apps/issues/sidebar/Sidebar.js
index fd4c2c3f91c..613c3be57ed 100644
--- a/server/sonar-web/src/main/js/apps/issues/sidebar/Sidebar.js
+++ b/server/sonar-web/src/main/js/apps/issues/sidebar/Sidebar.js
@@ -63,8 +63,8 @@ export default class Sidebar extends React.PureComponent {
render() {
const { component, facets, openFacets, query } = this.props;
- const displayProjectsFacet: boolean = component == null ||
- !['TRK', 'BRC', 'DIR', 'DEV_PRJ'].includes(component.qualifier);
+ const displayProjectsFacet: boolean =
+ component == null || !['TRK', 'BRC', 'DIR', 'DEV_PRJ'].includes(component.qualifier);
const displayModulesFacet = component == null || component.qualifier !== 'DIR';
const displayDirectoriesFacet = component == null || component.qualifier !== 'DIR';
const displayAuthorFacet = component == null || component.qualifier !== 'DEV';