From 2d67315b70201571c14574b5d2dd03b4c74b6126 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Mon, 21 Mar 2016 10:55:52 +0100 Subject: [PATCH] fix displaying projects in issue filter widget --- server/sonar-web/src/main/js/widgets/issue-filter/widget.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/sonar-web/src/main/js/widgets/issue-filter/widget.js b/server/sonar-web/src/main/js/widgets/issue-filter/widget.js index 83627414b1b..9aa78fa94bf 100644 --- a/server/sonar-web/src/main/js/widgets/issue-filter/widget.js +++ b/server/sonar-web/src/main/js/widgets/issue-filter/widget.js @@ -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; } -- 2.39.5