diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-01-07 12:17:32 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-01-07 14:15:57 +0100 |
commit | 990a2cfaed2a75f01e030a9bf8252b3dd4cd223a (patch) | |
tree | 89702abd56736d408b002b7e21aa72d6144bba05 | |
parent | eb872c65237fab7f854f617ec9f7a51c8cc82977 (diff) | |
download | sonarqube-990a2cfaed2a75f01e030a9bf8252b3dd4cd223a.tar.gz sonarqube-990a2cfaed2a75f01e030a9bf8252b3dd4cd223a.zip |
SONAR-7149 do not display breadcrumbs when searching
-rw-r--r-- | server/sonar-web/src/main/js/apps/code/components/Code.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/code/components/Code.js b/server/sonar-web/src/main/js/apps/code/components/Code.js index 9a2dc252558..f2c61b51ec7 100644 --- a/server/sonar-web/src/main/js/apps/code/components/Code.js +++ b/server/sonar-web/src/main/js/apps/code/components/Code.js @@ -62,10 +62,10 @@ class Code extends Component { coverageMetric, searchResults, errorMessage } = this.props; - const shouldShowBreadcrumbs = Array.isArray(breadcrumbs) && breadcrumbs.length > 1; const shouldShowSearchResults = !!searchResults; const shouldShowSourceViewer = !!sourceViewer; const shouldShowComponents = !shouldShowSearchResults && !shouldShowSourceViewer && components; + const shouldShowBreadcrumbs = !shouldShowSearchResults && Array.isArray(breadcrumbs) && breadcrumbs.length > 1; const componentsClassName = classNames('spacer-top', { 'new-loading': fetching }); |