Commit bd4495ec authored by Mark Florian's avatar Mark Florian

Fix component option order in alert_management

This fixes `vue/order-in-components` violations in the
`{,ee/}app/assets/javascripts/alert_management` directories.

Part of https://gitlab.com/gitlab-org/gitlab/-/issues/297216.
parent a1239653
......@@ -51,6 +51,9 @@ export default (selector) => {
// eslint-disable-next-line no-new
new Vue({
el: selector,
components: {
AlertDetails,
},
provide: {
projectPath,
alertId,
......@@ -58,9 +61,6 @@ export default (selector) => {
projectId,
},
apolloProvider,
components: {
AlertDetails,
},
router,
render(createElement) {
return createElement('alert-details', {});
......
......@@ -48,6 +48,9 @@ export default () => {
return new Vue({
el: selector,
components: {
AlertManagementList,
},
provide: {
projectPath,
textQuery,
......@@ -59,9 +62,6 @@ export default () => {
userCanEnableAlertManagement: parseBoolean(userCanEnableAlertManagement),
},
apolloProvider,
components: {
AlertManagementList,
},
render(createElement) {
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