Commit 7426dcb7 authored by Frédéric Caplette's avatar Frédéric Caplette

Merge branch 'fix-shared-runners-form' into 'master'

Fix shared runners form injections

See merge request gitlab-org/gitlab!72907
parents 0daffa09 46773323
......@@ -15,17 +15,16 @@ export default (containerId = 'update-shared-runners-form') => {
return new Vue({
el: containerEl,
provide: {
updatePath,
sharedRunnersAvailability,
parentSharedRunnersAvailability,
runnerEnabled,
runnerDisabled,
runnerAllowOverride,
},
render(createElement) {
return createElement(UpdateSharedRunnersForm, {
provide: {
updatePath,
sharedRunnersAvailability,
parentSharedRunnersAvailability,
runnerEnabled,
runnerDisabled,
runnerAllowOverride,
},
});
return createElement(UpdateSharedRunnersForm);
},
});
};
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