Commit c8c8dd11 authored by Denys Mishunov's avatar Denys Mishunov

Always hides editor in Web IDE for binary files

parent 5e2d50aa
...@@ -36,7 +36,7 @@ export default { ...@@ -36,7 +36,7 @@ export default {
]), ]),
...mapGetters('fileTemplates', ['showFileTemplatesBar']), ...mapGetters('fileTemplates', ['showFileTemplatesBar']),
shouldHideEditor() { shouldHideEditor() {
return this.file && this.file.binary && !this.file.content; return this.file && this.file.binary;
}, },
showContentViewer() { showContentViewer() {
return ( return (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment