Commit fd6ea5bd authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch...

Merge branch '332360-follow-up-from-resolve-change-the-first-pipeline-editor-tab-name-to-edit' into 'master'

Cleanup of unused copy in Pipeline editor app

See merge request gitlab-org/gitlab!75681
parents e5096b9e 2ae68cb3
...@@ -222,10 +222,6 @@ export default { ...@@ -222,10 +222,6 @@ export default {
}, },
}, },
i18n: { i18n: {
tabEdit: s__('Pipelines|Edit'),
tabGraph: s__('Pipelines|Visualize'),
tabLint: s__('Pipelines|Lint'),
},
resetModal: { resetModal: {
actionPrimary: { actionPrimary: {
text: __('Reset file'), text: __('Reset file'),
...@@ -238,6 +234,7 @@ export default { ...@@ -238,6 +234,7 @@ export default {
), ),
title: __('Discard changes'), title: __('Discard changes'),
}, },
},
watch: { watch: {
isEmpty(flag) { isEmpty(flag) {
if (flag) { if (flag) {
...@@ -364,12 +361,12 @@ export default { ...@@ -364,12 +361,12 @@ export default {
<gl-modal <gl-modal
v-model="showResetComfirmationModal" v-model="showResetComfirmationModal"
modal-id="reset-content" modal-id="reset-content"
:title="$options.resetModal.title" :title="$options.i18n.resetModal.title"
:action-cancel="$options.resetModal.actionCancel" :action-cancel="$options.i18n.resetModal.actionCancel"
:action-primary="$options.resetModal.actionPrimary" :action-primary="$options.i18n.resetModal.actionPrimary"
@primary="resetContent" @primary="resetContent"
> >
{{ $options.resetModal.body }} {{ $options.i18n.resetModal.body }}
</gl-modal> </gl-modal>
<confirm-unsaved-changes-dialog :has-unsaved-changes="hasUnsavedChanges" /> <confirm-unsaved-changes-dialog :has-unsaved-changes="hasUnsavedChanges" />
</div> </div>
......
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