diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/components/IssuesSourceViewer.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/components/IssuesSourceViewer.tsx | 4 |
1 files changed, 2 insertions, 2 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 58bcdbaad93..fbaa4feb644 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 @@ -88,8 +88,8 @@ export default class IssuesSourceViewer extends React.PureComponent<Props> { : openIssue.textRange && openIssue.textRange.endLine; // replace locations in another file with `undefined` to keep the same location indexes - const highlightedLocations = locations.map( - location => (location.component === component ? location : undefined) + const highlightedLocations = locations.map(location => + location.component === component ? location : undefined ); const highlightedLocationMessage = |