fix #12: add an option to hide the opener and the panel when there is no application
This commit is contained in:
parent
76ecd6aeaa
commit
4146e9c2a1
6 changed files with 42 additions and 19 deletions
|
|
@ -54,6 +54,7 @@ class JsController extends Controller
|
|||
$parameters = [
|
||||
'opener-position' => $this->config->getAppValue('side_menu', 'opener-position', 'before'),
|
||||
'opener-hover' => (bool) $this->config->getAppValue('side_menu', 'opener-hover', '0'),
|
||||
'hide-when-no-apps' => (bool) $this->config->getAppValue('side_menu', 'hide-when-no-apps', '0'),
|
||||
];
|
||||
|
||||
$response = new TemplateResponse('side_menu', 'js/script', $parameters, 'blank');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue