]> source.dussan.org Git - sonarqube.git/commitdiff
fix displaying projects in issue filter widget
authorStas Vilchik <vilchiks@gmail.com>
Mon, 21 Mar 2016 09:55:52 +0000 (10:55 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Mon, 21 Mar 2016 13:18:29 +0000 (14:18 +0100)
server/sonar-web/src/main/js/widgets/issue-filter/widget.js

index 83627414b1babb4ade949653c33057c1c8d20386..9aa78fa94bffec425ac465a652731631442b348e 100644 (file)
@@ -119,8 +119,8 @@ const byDistributionConf = {
   },
   'projectUuids': {
     label (item, r) {
-      if (_.isArray(r.projects)) {
-        const project = _.findWhere(r.projects, { uuid: item.val });
+      if (_.isArray(r.components)) {
+        const project = _.findWhere(r.components, { uuid: item.val });
         if (project != null) {
           return project.name;
         }