aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/queries
diff options
context:
space:
mode:
authorstanislavh <stanislav.honcharov@sonarsource.com>2023-12-20 12:11:16 +0100
committersonartech <sonartech@sonarsource.com>2024-01-17 20:02:44 +0000
commit90ad2c4384f1d9a55af1b28efcd9886efbce98db (patch)
tree02e89f7ebea4592a9a7f8a400b7db0b72edc5a19 /server/sonar-web/src/main/js/queries
parenta8336afac1068fdc4f79f65284f52511ca471964 (diff)
downloadsonarqube-90ad2c4384f1d9a55af1b28efcd9886efbce98db.tar.gz
sonarqube-90ad2c4384f1d9a55af1b28efcd9886efbce98db.zip
SONAR-21259 Show fixed issues in issues list of the target branch
Diffstat (limited to 'server/sonar-web/src/main/js/queries')
-rw-r--r--server/sonar-web/src/main/js/queries/branch.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/queries/branch.tsx b/server/sonar-web/src/main/js/queries/branch.tsx
index 918f0801fa8..a58ac2ceef6 100644
--- a/server/sonar-web/src/main/js/queries/branch.tsx
+++ b/server/sonar-web/src/main/js/queries/branch.tsx
@@ -109,6 +109,7 @@ function getContext(key: ReturnType<typeof useBranchesQueryKey>) {
export function useBranchesQuery(component?: LightComponent, refetchInterval?: number) {
const features = useContext(AvailableFeaturesContext);
const key = useBranchesQueryKey(InnerState.Details, component?.key);
+
return useQuery({
queryKey: key,
queryFn: async ({ queryKey: [, key, prOrBranch, name] }) => {