From: Philippe Perrin Date: Wed, 22 Dec 2021 14:52:23 +0000 (+0100) Subject: SONAR-15802 Improve portfolio's children ordering X-Git-Tag: 9.3.0.51899~89 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a9ebb3dd0e2a3188e675757005372ae823f3d23c;p=sonarqube.git SONAR-15802 Improve portfolio's children ordering --- diff --git a/server/sonar-web/src/main/js/apps/code/components/Components.tsx b/server/sonar-web/src/main/js/apps/code/components/Components.tsx index 7568a1ef14b..2d803f21daf 100644 --- a/server/sonar-web/src/main/js/apps/code/components/Components.tsx +++ b/server/sonar-web/src/main/js/apps/code/components/Components.tsx @@ -82,7 +82,7 @@ export class Components extends React.PureComponent { components, c => c.qualifier, c => c.name.toLowerCase(), - c => c.branch?.toLowerCase() + c => (c.branch ? c.branch.toLowerCase() : '') ).map((component, index, list) => (