diff options
Diffstat (limited to 'server/sonar-web/src/main/js/components/locations/LocationsList.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/components/locations/LocationsList.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/components/locations/LocationsList.tsx b/server/sonar-web/src/main/js/components/locations/LocationsList.tsx index 043de9d030a..635095b65af 100644 --- a/server/sonar-web/src/main/js/components/locations/LocationsList.tsx +++ b/server/sonar-web/src/main/js/components/locations/LocationsList.tsx @@ -35,10 +35,10 @@ export default class LocationsList extends React.PureComponent<Props> { render() { const { locations, componentKey, selectedLocationIndex, showCrossFile = true } = this.props; - const locationComponents = [componentKey, ...locations.map(location => location.component)]; + const locationComponents = [componentKey, ...locations.map((location) => location.component)]; const isCrossFile = uniq(locationComponents).length > 1; - if (!locations || locations.length === 0 || locations.every(location => !location.msg)) { + if (!locations || locations.length === 0 || locations.every((location) => !location.msg)) { return null; } |