diff options
author | stanislavh <stanislav.honcharov@sonarsource.com> | 2023-12-20 12:11:16 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-01-17 20:02:44 +0000 |
commit | 90ad2c4384f1d9a55af1b28efcd9886efbce98db (patch) | |
tree | 02e89f7ebea4592a9a7f8a400b7db0b72edc5a19 /server/sonar-web/src/main/js/queries | |
parent | a8336afac1068fdc4f79f65284f52511ca471964 (diff) | |
download | sonarqube-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.tsx | 1 |
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] }) => { |