Commit 9943e2ac authored by David O'Regan's avatar David O'Regan

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

Fix component option order in oncall_schedules

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