Commit 1a21b2a7 authored by Phil Hughes's avatar Phil Hughes

Merge branch 'tor/maintenance/mr-show-immutable-gql' into 'master'

Make MR GraphQL results (status badge) immutable

See merge request gitlab-org/gitlab!69390
parents d0555e9f e96d7e7d
......@@ -29,7 +29,10 @@ export default function initMergeRequestShow() {
}
const el = document.querySelector('.js-mr-status-box');
const apolloProvider = new VueApollo({ defaultClient: createDefaultClient() });
const apolloProvider = new VueApollo({
assumeImmutableResults: true,
defaultClient: createDefaultClient(),
});
// eslint-disable-next-line no-new
new Vue({
el,
......
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