diff options
Diffstat (limited to 'app/assets/javascripts/pipeline_editor/pipeline_editor_home.vue')
-rw-r--r-- | app/assets/javascripts/pipeline_editor/pipeline_editor_home.vue | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/assets/javascripts/pipeline_editor/pipeline_editor_home.vue b/app/assets/javascripts/pipeline_editor/pipeline_editor_home.vue index 59022a91322..f26cdd8b017 100644 --- a/app/assets/javascripts/pipeline_editor/pipeline_editor_home.vue +++ b/app/assets/javascripts/pipeline_editor/pipeline_editor_home.vue @@ -1,7 +1,6 @@ <script> import { GlModal } from '@gitlab/ui'; import { __ } from '~/locale'; -import glFeatureFlagMixin from '~/vue_shared/mixins/gl_feature_flags_mixin'; import CommitSection from './components/commit/commit_section.vue'; import PipelineEditorDrawer from './components/drawer/pipeline_editor_drawer.vue'; import PipelineEditorFileNav from './components/file_nav/pipeline_editor_file_nav.vue'; @@ -34,7 +33,6 @@ export default { PipelineEditorHeader, PipelineEditorTabs, }, - mixins: [glFeatureFlagMixin()], props: { ciConfigData: { type: Object, @@ -76,9 +74,6 @@ export default { includesFiles() { return this.ciConfigData?.includes || []; }, - isFileTreeVisible() { - return this.showFileTree && this.glFeatures.pipelineEditorFileTree; - }, }, mounted() { this.showFileTree = JSON.parse(localStorage.getItem(FILE_TREE_DISPLAY_KEY)) || false; @@ -140,7 +135,7 @@ export default { /> <div class="gl-display-flex gl-w-full gl-sm-flex-direction-column"> <pipeline-editor-file-tree - v-if="isFileTreeVisible" + v-if="showFileTree" class="gl-flex-shrink-0" :includes="includesFiles" /> |