Commit ef1ced22 authored by Sarah Groff Hennigh-Palermo's avatar Sarah Groff Hennigh-Palermo

Merge branch 'fix-branch-switcher-fetch-policy' into 'master'

Fix fetch policy in pipeline editor branch switcher

See merge request gitlab-org/gitlab!62275
parents 2dc630f8 e7ee6823
......@@ -56,7 +56,7 @@ export default {
apollo: {
initialCiFileContent: {
fetchPolicy: fetchPolicies.NETWORK,
fetchPolicy: fetchPolicies.NETWORK_ONLY,
query: getBlobContent,
// If it's a brand new file, we don't want to fetch the content.
// Then when the user commits the first time, the query would run
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment