From: Jeremy Davis Date: Mon, 30 Oct 2023 14:34:30 +0000 (+0100) Subject: SONAR-20828 show analysis date for correct branch in portfolio breakdonw X-Git-Tag: 10.3.0.82913~70 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=066eb69794ba1ac9a9a547d5f119431c8926db48;p=sonarqube.git SONAR-20828 show analysis date for correct branch in portfolio breakdonw --- diff --git a/server/sonar-web/src/main/js/apps/code/components/CodeAppRenderer.tsx b/server/sonar-web/src/main/js/apps/code/components/CodeAppRenderer.tsx index 6a573b846ec..33aac584a0a 100644 --- a/server/sonar-web/src/main/js/apps/code/components/CodeAppRenderer.tsx +++ b/server/sonar-web/src/main/js/apps/code/components/CodeAppRenderer.tsx @@ -181,7 +181,7 @@ export default function CodeAppRenderer(props: Props) { {(showComponentList || showSearch) && ( - + {showComponentList && ( getComponentData({ component: c.refKey ?? c.key })), + result.components.map((c) => + getComponentData({ component: c.refKey ?? c.key, branch: c.branch }), + ), ).then( (data) => { data.forEach(({ component: { analysisDate } }, i) => {