Always hides editor in Web IDE for binary files

This commit is contained in:
Denys Mishunov 2019-04-17 22:41:51 +02:00
parent 5e2d50aa18
commit c8c8dd118a

View file

@ -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 (