From: David Cho-Lerat Date: Mon, 24 Jul 2023 10:18:42 +0000 (+0200) Subject: SONAR-19989 Remove extra separator in branch/PR menu X-Git-Tag: 10.2.0.77647~303 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6f8389602a9957bebb0d569f927a429da676473e;p=sonarqube.git SONAR-19989 Remove extra separator in branch/PR menu --- diff --git a/server/sonar-web/src/main/js/app/components/nav/component/branch-like/MenuItemList.tsx b/server/sonar-web/src/main/js/app/components/nav/component/branch-like/MenuItemList.tsx index c91f6b744b7..6d76c7ae1a7 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/branch-like/MenuItemList.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/branch-like/MenuItemList.tsx @@ -56,6 +56,8 @@ export function MenuItemList(props: MenuItemListProps) { /> ); + const branches = [branchLikeTree.mainBranchTree, ...branchLikeTree.branchTree]; + return (