diff options
Diffstat (limited to 'server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx b/server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx index ecfacd0054f..f475e8805a4 100644 --- a/server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx +++ b/server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx @@ -71,7 +71,7 @@ export default function withKeyboardNavigation<P>( const { selected, components = [] } = this.props; return selected ? components.findIndex( - component => + (component) => getComponentMeasureUniqueKey(component) === getComponentMeasureUniqueKey(selected) ) : -1; |