]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-20116 Fix portfolio issues loading
authorJeremy Davis <jeremy.davis@sonarsource.com>
Tue, 15 Aug 2023 11:22:12 +0000 (13:22 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 16 Aug 2023 20:02:43 +0000 (20:02 +0000)
server/sonar-web/src/main/js/queries/branch.tsx

index f7e7ae28896323f5d8d72ecd0857bc10afdd7aee..8fb5bd706b6baeb7f9ba3005c74bb0a4529e1559 100644 (file)
@@ -334,7 +334,7 @@ export function withBranchLikes<P extends { component?: Component }>(
       <WrappedComponent
         branchLikes={data?.branchLikes ?? []}
         branchLike={data?.branchLike}
-        isFetchingBranch={isFetching}
+        isFetchingBranch={!isPortfolioLike(p.component?.qualifier) && isFetching}
         {...p}
       />
     );