diff --git a/resources/views/header.blade.php b/resources/views/header.blade.php index 075378ebf7e6..b0c85f8b2ca9 100644 --- a/resources/views/header.blade.php +++ b/resources/views/header.blade.php @@ -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'), ])