diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-01-11 09:11:42 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-01-11 09:30:26 +0100 |
commit | 4fc5235cff864d6935921ef0e33549563cb20b88 (patch) | |
tree | 2876c7665cc47c3643656533be142ea965997eb8 /server/sonar-web/src/main/js/apps/code | |
parent | 292fbbf3fb9631c63b1b60359b452920eb69ce8a (diff) | |
download | sonarqube-4fc5235cff864d6935921ef0e33549563cb20b88.tar.gz sonarqube-4fc5235cff864d6935921ef0e33549563cb20b88.zip |
SONAR-7144 fix pinnig from search results
Diffstat (limited to 'server/sonar-web/src/main/js/apps/code')
-rw-r--r-- | server/sonar-web/src/main/js/apps/code/components/ComponentPin.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/code/components/ComponentPin.js b/server/sonar-web/src/main/js/apps/code/components/ComponentPin.js index 80382734ffd..793f2e89027 100644 --- a/server/sonar-web/src/main/js/apps/code/components/ComponentPin.js +++ b/server/sonar-web/src/main/js/apps/code/components/ComponentPin.js @@ -27,7 +27,7 @@ import { translate } from '../../../helpers/l10n'; const ComponentPin = ({ component }) => { const handleClick = (e) => { e.preventDefault(); - Workspace.openComponent({ uuid: component.uuid }); + Workspace.openComponent({ uuid: component.uuid || component.id }); }; return ( |