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,8 +15,6 @@ export default (containerId = 'update-shared-runners-form') => { ...@@ -15,8 +15,6 @@ export default (containerId = 'update-shared-runners-form') => {
return new Vue({ return new Vue({
el: containerEl, el: containerEl,
render(createElement) {
return createElement(UpdateSharedRunnersForm, {
provide: { provide: {
updatePath, updatePath,
sharedRunnersAvailability, sharedRunnersAvailability,
...@@ -25,7 +23,8 @@ export default (containerId = 'update-shared-runners-form') => { ...@@ -25,7 +23,8 @@ export default (containerId = 'update-shared-runners-form') => {
runnerDisabled, runnerDisabled,
runnerAllowOverride, runnerAllowOverride,
}, },
}); render(createElement) {
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