Commit 46773323 authored by Doug Stull's avatar Doug Stull

Fix shared runners form injections

- provide was misconfigured

Changelog: fixed
parent c7c927c6
...@@ -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