Commit 45b0d290 authored by Martin Wortschack's avatar Martin Wortschack

Merge branch 'fix-vue-order-in-components-alert_management' into 'master'

Fix component option order in alert_management

See merge request gitlab-org/gitlab!51355
parents acf9b5df bd4495ec
...@@ -51,6 +51,9 @@ export default (selector) => { ...@@ -51,6 +51,9 @@ export default (selector) => {
// eslint-disable-next-line no-new // eslint-disable-next-line no-new
new Vue({ new Vue({
el: selector, el: selector,
components: {
AlertDetails,
},
provide: { provide: {
projectPath, projectPath,
alertId, alertId,
...@@ -58,9 +61,6 @@ export default (selector) => { ...@@ -58,9 +61,6 @@ export default (selector) => {
projectId, projectId,
}, },
apolloProvider, apolloProvider,
components: {
AlertDetails,
},
router, router,
render(createElement) { render(createElement) {
return createElement('alert-details', {}); return createElement('alert-details', {});
......
...@@ -48,6 +48,9 @@ export default () => { ...@@ -48,6 +48,9 @@ export default () => {
return new Vue({ return new Vue({
el: selector, el: selector,
components: {
AlertManagementList,
},
provide: { provide: {
projectPath, projectPath,
textQuery, textQuery,
...@@ -59,9 +62,6 @@ export default () => { ...@@ -59,9 +62,6 @@ export default () => {
userCanEnableAlertManagement: parseBoolean(userCanEnableAlertManagement), userCanEnableAlertManagement: parseBoolean(userCanEnableAlertManagement),
}, },
apolloProvider, apolloProvider,
components: {
AlertManagementList,
},
render(createElement) { render(createElement) {
return createElement('alert-management-list'); return createElement('alert-management-list');
}, },
......
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