@@ -14,13 +14,13 @@ |
||
14 | 14 | * |
15 | 15 | * @return void |
16 | 16 | */ |
17 | - public function boot(ControlPanelBuilder $builder, NavigationFactory $factory) |
|
17 | + public function boot(ControlPanelBuilder $builder, NavigationFactory $factory) |
|
18 | 18 | { |
19 | 19 | view()->composer('*', function ($view) use ($builder, $factory) { |
20 | 20 | |
21 | 21 | if (auth()->check() and template()->get('cp')) { |
22 | - //Hidden menu items in sidebar on dashboard |
|
23 | - ($navigation = template()->get('cp')->getNavigation()->get('anomaly.module.variables')) ? $navigation->setClass('hidden') : false; |
|
22 | + //Hidden menu items in sidebar on dashboard |
|
23 | + ($navigation = template()->get('cp')->getNavigation()->get('anomaly.module.variables')) ? $navigation->setClass('hidden') : false; |
|
24 | 24 | ($navigation = template()->get('cp')->getNavigation()->get('anomaly.module.system')) ? $navigation->setClass('hidden') : false; |
25 | 25 | ($navigation = template()->get('cp')->getNavigation()->get('anomaly.module.redirects')) ? $navigation->setClass('hidden') : false; |
26 | 26 | ($navigation = template()->get('cp')->getNavigation()->get('anomaly.module.repeaters')) ? $navigation->setClass('hidden') : false; |