mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:34:30 -04:00
Merge pull request #2128 from dicarlosystems/module-conditional-nav-display
Added ability to disable module sidebar entry
This commit is contained in:
commit
64653feaf5
@ -405,7 +405,7 @@
|
|||||||
@endforeach
|
@endforeach
|
||||||
@if ( ! Utils::isNinjaProd())
|
@if ( ! Utils::isNinjaProd())
|
||||||
@foreach (Module::collections() as $module)
|
@foreach (Module::collections() as $module)
|
||||||
@include('partials.navigation_option', [
|
@includeWhen(empty($module->get('no-sidebar')) || $module->get('no-sidebar') != '1', [
|
||||||
'option' => $module->getAlias(),
|
'option' => $module->getAlias(),
|
||||||
'icon' => $module->get('icon', 'th-large'),
|
'icon' => $module->get('icon', 'th-large'),
|
||||||
])
|
])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user