diff options
author | Denys Mishunov <dmishunov@gitlab.com> | 2019-04-17 23:41:51 +0300 |
---|---|---|
committer | Denys Mishunov <dmishunov@gitlab.com> | 2019-04-18 00:57:29 +0300 |
commit | c8c8dd118a27b682c8c7a58d9bbea64c2c1ef445 (patch) | |
tree | 924ed8aa0f1cfdfc42db029b2cc7e14b150294d1 /app/assets/javascripts/ide | |
parent | 5e2d50aa18be186112e066c7b856d58979eb9097 (diff) |
Always hides editor in Web IDE for binary files
Diffstat (limited to 'app/assets/javascripts/ide')
-rw-r--r-- | app/assets/javascripts/ide/components/repo_editor.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/ide/components/repo_editor.vue b/app/assets/javascripts/ide/components/repo_editor.vue index 1029fc0f7b5..e15b2a6f76b 100644 --- a/app/assets/javascripts/ide/components/repo_editor.vue +++ b/app/assets/javascripts/ide/components/repo_editor.vue @@ -36,7 +36,7 @@ export default { ]), ...mapGetters('fileTemplates', ['showFileTemplatesBar']), shouldHideEditor() { - return this.file && this.file.binary && !this.file.content; + return this.file && this.file.binary; }, showContentViewer() { return ( |