Fixes
This commit is contained in:
parent
790f595f0f
commit
6ad2ddeb4a
@ -17,7 +17,7 @@ class GenerateMenus
|
|||||||
public function handle(Request $request, Closure $next): Response
|
public function handle(Request $request, Closure $next): Response
|
||||||
{
|
{
|
||||||
if ($request->route()->getName() === 'livewire.message') {
|
if ($request->route()->getName() === 'livewire.message') {
|
||||||
return $next($request);
|
return $next($request);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!auth()->check()) {
|
if (!auth()->check()) {
|
||||||
@ -26,7 +26,7 @@ public function handle(Request $request, Closure $next): Response
|
|||||||
|
|
||||||
Menu::make('main-menu', function ($menu) {
|
Menu::make('main-menu', function ($menu) {
|
||||||
$systemRoutes = [
|
$systemRoutes = [
|
||||||
'boilerplate::ui.home' => [' fas fa-home', 'home'],
|
'boilerplate::ui.home' => [' fas fa-home', 'dashboard'],
|
||||||
'boilerplate::ui.planned' => [' fas fa-home', 'maintenance.planned'],
|
'boilerplate::ui.planned' => [' fas fa-home', 'maintenance.planned'],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user