mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Added ability to disable module sidebar entry
This commit is contained in:
parent
f1e50caa17
commit
7c4db9203a
@ -405,7 +405,7 @@
|
||||
@endforeach
|
||||
@if ( ! Utils::isNinjaProd())
|
||||
@foreach (Module::collections() as $module)
|
||||
@include('partials.navigation_option', [
|
||||
@includeWhen(empty($module->get('no-sidebar')) || $module->get('no-sidebar') != '1', [
|
||||
'option' => $module->getAlias(),
|
||||
'icon' => $module->get('icon', 'th-large'),
|
||||
])
|
||||
|
Loading…
x
Reference in New Issue
Block a user