Skip to content
Snippets Groups Projects

Hide file browser and display options from empty state changes tab

Compare and
4 files
+ 25
8
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -216,6 +216,9 @@ export default {
return visible;
},
showControls() {
return this.mergeRequestDiffs.length;
},
},
watch: {
commit(newCommit, oldCommit) {
@@ -472,7 +475,7 @@ export default {
class="files d-flex gl-mt-2"
>
<div
v-if="showTreeList"
v-if="showTreeList && showControls"
:style="{ width: `${treeWidth}px` }"
class="diff-tree-list js-diff-tree-list px-3 pr-md-0"
>
Loading