diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2019-03-27 09:02:18 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2019-03-27 09:02:18 +0000 |
commit | fc247b15f01c2975a78a5bc70d627952cbeedbfe (patch) | |
tree | 28b83a936efa2ac3e7c14f8de860fbab54059872 /app/assets/javascripts | |
parent | 0f058ff390f775d66f42fd204e1dd15137164331 (diff) | |
parent | 3b158409b382014dba56e5bb6e66c298786af7f6 (diff) | |
download | gitlab-ce-fc247b15f01c2975a78a5bc70d627952cbeedbfe.tar.gz |
Merge branch 'remove-expand-diff-feature-flag' into 'master'
Remove expand diff to full file feature flag
See merge request gitlab-org/gitlab-ce!26614
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/diffs/components/diff_file_header.vue | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/assets/javascripts/diffs/components/diff_file_header.vue b/app/assets/javascripts/diffs/components/diff_file_header.vue index a5125c3d077..d41d1464166 100644 --- a/app/assets/javascripts/diffs/components/diff_file_header.vue +++ b/app/assets/javascripts/diffs/components/diff_file_header.vue @@ -128,9 +128,6 @@ export default { isModeChanged() { return this.diffFile.viewer.name === diffViewerModes.mode_changed; }, - showExpandDiffToFullFileEnabled() { - return gon.features.expandDiffFullFile && !this.diffFile.is_fully_expanded; - }, }, mounted() { polyfillSticky(this.$refs.header); @@ -258,7 +255,7 @@ export default { <icon name="external-link" /> </gl-button> <gl-button - v-if="showExpandDiffToFullFileEnabled" + v-if="!diffFile.is_fully_expanded" class="expand-file js-expand-file" @click="toggleFullDiff(diffFile.file_path)" > |