diff --git a/frontend/src/views/Files.vue b/frontend/src/views/Files.vue index b966f767..1d90974b 100644 --- a/frontend/src/views/Files.vue +++ b/frontend/src/views/Files.vue @@ -54,8 +54,7 @@ export default { currentView() { if (this.req.type == undefined || this.req.isDir) { return null; - } - else if ( + } else if ( this.req.type === "text" || this.req.type === "textImmutable" ) { @@ -151,3 +150,9 @@ export default { }, }; +