From 76deac91850be73e2396cd1daeaebc47c569a826 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Tue, 10 May 2016 13:55:32 +0200 Subject: [PATCH] display module name on measures page --- .../component-measures/details/drilldown/ComponentCell.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/component-measures/details/drilldown/ComponentCell.js b/server/sonar-web/src/main/js/apps/component-measures/details/drilldown/ComponentCell.js index 1fc9ecab2c2..8ff7b1d04ee 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/details/drilldown/ComponentCell.js +++ b/server/sonar-web/src/main/js/apps/component-measures/details/drilldown/ComponentCell.js @@ -40,10 +40,10 @@ const ComponentCell = ({ component, isSelected, onClick }) => { }; let head = ''; - let tail = component.path || component.name; + let tail = component.name; if (['DIR', 'FIL', 'CLA'].includes(component.qualifier)) { - const parts = splitPath(tail); + const parts = splitPath(component.path); head = parts.head; tail = parts.tail; } -- 2.39.5