diff --git a/client/modules/terminal.js b/client/modules/terminal.js index 17fc0a5b..bcea0cf2 100644 --- a/client/modules/terminal.js +++ b/client/modules/terminal.js @@ -21,8 +21,12 @@ let Terminal; const {config} = CloudCmd; function TerminalProto() { + const noop = () => {}; + if (!config('terminal')) - return; + return { + show: noop + }; Images.show.load('top');