diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-11 06:07:57 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-11 06:07:57 +0300 |
commit | defc424997d8329613ef3951ab30adf6b3b94f01 (patch) | |
tree | ef253b2f77b033e38f7ef8d80b50cf112e9e0d6f /app/assets/javascripts/pipeline_editor/pipeline_editor_home.vue | |
parent | cb2494484e33a0d3c750625908e8b4dda69ab7b4 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/pipeline_editor/pipeline_editor_home.vue')
-rw-r--r-- | app/assets/javascripts/pipeline_editor/pipeline_editor_home.vue | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app/assets/javascripts/pipeline_editor/pipeline_editor_home.vue b/app/assets/javascripts/pipeline_editor/pipeline_editor_home.vue index f5277fdbcca..59022a91322 100644 --- a/app/assets/javascripts/pipeline_editor/pipeline_editor_home.vue +++ b/app/assets/javascripts/pipeline_editor/pipeline_editor_home.vue @@ -73,6 +73,9 @@ export default { showCommitForm() { return this.currentTab === CREATE_TAB; }, + includesFiles() { + return this.ciConfigData?.includes || []; + }, isFileTreeVisible() { return this.showFileTree && this.glFeatures.pipelineEditorFileTree; }, @@ -136,7 +139,11 @@ export default { v-on="$listeners" /> <div class="gl-display-flex gl-w-full gl-sm-flex-direction-column"> - <pipeline-editor-file-tree v-if="isFileTreeVisible" class="gl-flex-shrink-0" /> + <pipeline-editor-file-tree + v-if="isFileTreeVisible" + class="gl-flex-shrink-0" + :includes="includesFiles" + /> <div class="gl-flex-grow-1 gl-min-w-0"> <pipeline-editor-header :ci-config-data="ciConfigData" |