Commit 46773323 authored by Doug Stull's avatar Doug Stull

Fix shared runners form injections

- provide was misconfigured

Changelog: fixed
parent c7c927c6
...@@ -15,17 +15,16 @@ export default (containerId = 'update-shared-runners-form') => { ...@@ -15,17 +15,16 @@ export default (containerId = 'update-shared-runners-form') => {
return new Vue({ return new Vue({
el: containerEl, el: containerEl,
provide: {
updatePath,
sharedRunnersAvailability,
parentSharedRunnersAvailability,
runnerEnabled,
runnerDisabled,
runnerAllowOverride,
},
render(createElement) { render(createElement) {
return createElement(UpdateSharedRunnersForm, { return createElement(UpdateSharedRunnersForm);
provide: {
updatePath,
sharedRunnersAvailability,
parentSharedRunnersAvailability,
runnerEnabled,
runnerDisabled,
runnerAllowOverride,
},
});
}, },
}); });
}; };
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