Commit 92f46ce8 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch '208330-operations-clean-up-2' into 'master'

Move Incident tab locationi

See merge request gitlab-org/gitlab!62821
parents 4764a710 b0b34e4e
...@@ -39,8 +39,8 @@ export default { ...@@ -39,8 +39,8 @@ export default {
components: { components: {
IntegrationsList, IntegrationsList,
AlertSettingsForm, AlertSettingsForm,
GlButton,
GlAlert, GlAlert,
GlButton,
}, },
inject: { inject: {
projectPath: { projectPath: {
......
...@@ -42,6 +42,7 @@ export default { ...@@ -42,6 +42,7 @@ export default {
<div class="settings-content"> <div class="settings-content">
<gl-tabs> <gl-tabs>
<service-level-agreement-form />
<gl-tab <gl-tab
v-for="(tab, index) in $options.tabs" v-for="(tab, index) in $options.tabs"
v-if="tab.active" v-if="tab.active"
...@@ -50,7 +51,6 @@ export default { ...@@ -50,7 +51,6 @@ export default {
> >
<component :is="tab.component" class="gl-pt-3" :data-testid="`${tab.component}-tab`" /> <component :is="tab.component" class="gl-pt-3" :data-testid="`${tab.component}-tab`" />
</gl-tab> </gl-tab>
<service-level-agreement-form />
</gl-tabs> </gl-tabs>
</div> </div>
</section> </section>
......
...@@ -112,6 +112,7 @@ export default { ...@@ -112,6 +112,7 @@ export default {
v-if="available" v-if="available"
key="service-level-agreement" key="service-level-agreement"
:title="s__('IncidentSettings|Incident settings')" :title="s__('IncidentSettings|Incident settings')"
active
> >
<gl-form class="gl-pt-3" @submit.prevent="updateServiceLevelAgreementSettings"> <gl-form class="gl-pt-3" @submit.prevent="updateServiceLevelAgreementSettings">
<p class="gl-line-height-20"> <p class="gl-line-height-20">
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
exports[`Alert integration settings form should match the default snapshot 1`] = ` exports[`Alert integration settings form should match the default snapshot 1`] = `
<gl-tab-stub <gl-tab-stub
active=""
title="Incident settings" title="Incident settings"
titlelinkclass="" titlelinkclass=""
> >
......
...@@ -41,6 +41,8 @@ exports[`IncidentsSettingTabs should render the component 1`] = ` ...@@ -41,6 +41,8 @@ exports[`IncidentsSettingTabs should render the component 1`] = `
<gl-tabs-stub <gl-tabs-stub
theme="indigo" theme="indigo"
> >
<!---->
<gl-tab-stub <gl-tab-stub
title="Alert integration" title="Alert integration"
titlelinkclass="" titlelinkclass=""
...@@ -60,8 +62,6 @@ exports[`IncidentsSettingTabs should render the component 1`] = ` ...@@ -60,8 +62,6 @@ exports[`IncidentsSettingTabs should render the component 1`] = `
/> />
</gl-tab-stub> </gl-tab-stub>
<!----> <!---->
<!---->
</gl-tabs-stub> </gl-tabs-stub>
</div> </div>
</section> </section>
......
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