Commit b3ebe18d authored by Mark Florian's avatar Mark Florian Committed by David O'Regan

Fix component option order in oncall_schedules

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

Part of https://gitlab.com/gitlab-org/gitlab/-/issues/297216.
parent b99dc68a
......@@ -38,7 +38,6 @@ export const i18n = {
export default {
i18n,
inject: ['projectPath', 'timezones'],
components: {
GlForm,
GlFormGroup,
......@@ -47,6 +46,7 @@ export default {
GlDropdownItem,
GlSearchBoxByType,
},
inject: ['projectPath', 'timezones'],
props: {
form: {
type: Object,
......
......@@ -19,12 +19,12 @@ export const i18n = {
export default {
i18n,
inject: ['projectPath', 'timezones'],
components: {
GlModal,
GlAlert,
AddEditScheduleForm,
},
inject: ['projectPath', 'timezones'],
props: {
modalId: {
type: String,
......
......@@ -34,7 +34,6 @@ export default {
editScheduleModalId,
deleteScheduleModalId,
presetType: PRESET_TYPES.WEEKS,
inject: ['timezones'],
components: {
GlSprintf,
GlCard,
......@@ -50,6 +49,7 @@ export default {
GlModal: GlModalDirective,
GlTooltip: GlTooltipDirective,
},
inject: ['timezones'],
props: {
schedule: {
type: Object,
......
......@@ -29,7 +29,6 @@ export default {
mockRotations,
i18n,
addScheduleModalId,
inject: ['emptyOncallSchedulesSvgPath', 'projectPath'],
components: {
GlAlert,
GlButton,
......@@ -41,6 +40,7 @@ export default {
directives: {
GlModal: GlModalDirective,
},
inject: ['emptyOncallSchedulesSvgPath', 'projectPath'],
data() {
return {
schedule: {},
......
......@@ -54,7 +54,6 @@ export default {
palette: CHEVRON_SKIPPING_PALETTE_ENUM,
},
LENGTH_ENUM,
inject: ['projectPath'],
components: {
GlForm,
GlFormGroup,
......@@ -68,6 +67,7 @@ export default {
GlToggle,
GlCard,
},
inject: ['projectPath'],
props: {
form: {
type: Object,
......
......@@ -27,12 +27,12 @@ export const i18n = {
export default {
i18n,
LENGTH_ENUM,
inject: ['projectPath'],
components: {
GlModal,
GlAlert,
AddEditRotationForm,
},
inject: ['projectPath'],
props: {
modalId: {
type: String,
......
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