mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
refactor(route) indexProcessing: noKeysPanel
This commit is contained in:
parent
7643d11f74
commit
441d8ed35e
1 changed files with 2 additions and 1 deletions
|
|
@ -83,6 +83,7 @@ module.exports = currify((options, request, response, callback) => {
|
|||
*/
|
||||
function indexProcessing(options) {
|
||||
const oneFilePanel = config('oneFilePanel');
|
||||
const noKeysPanel = !config('keysPanel');
|
||||
const noContact = !config('contact');
|
||||
const noConfig = !config('configDialog');
|
||||
const noConsole = !config('console');
|
||||
|
|
@ -91,7 +92,7 @@ function indexProcessing(options) {
|
|||
|
||||
let data = options.data;
|
||||
|
||||
if (!config('keysPanel'))
|
||||
if (noKeysPanel)
|
||||
data = hideKeysPanel(data);
|
||||
|
||||
if (oneFilePanel)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue