diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/components/IssuesSourceViewer.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/components/IssuesSourceViewer.tsx b/server/sonar-web/src/main/js/apps/issues/components/IssuesSourceViewer.tsx index b513352a14b..1036a7d0f08 100644 --- a/server/sonar-web/src/main/js/apps/issues/components/IssuesSourceViewer.tsx +++ b/server/sonar-web/src/main/js/apps/issues/components/IssuesSourceViewer.tsx @@ -90,7 +90,7 @@ export default class IssuesSourceViewer extends React.PureComponent<Props> { ? selectedLocation && { index: selectedLocationIndex, text: selectedLocation.msg } : undefined; - if (locations.length > 1) { + if (locations.length > 0) { const components = uniq(locations.map(l => l.component)); return ( <div ref={node => (this.node = node)}> |