diff --git a/config/filament.php b/config/filament.php index 2029c6391c..33249597b4 100644 --- a/config/filament.php +++ b/config/filament.php @@ -84,6 +84,7 @@ return [ 'active' => 'filament.dashboard', // string or named route (may also be an array @link https://github.com/dwightwatson/active) 'label' => 'Dashboard', 'icon' => 'heroicon-o-home', // optional icon name (Blade UI Kit @link https://github.com/blade-ui-kit/blade-heroicons) + 'sort' => -1, // sort order used by the navigation ], ], @@ -99,7 +100,7 @@ return [ */ 'components' => [ - // 'alert' => Components\Alerts\Alert::class, + 'nav' => Filament\View\Components\Nav::class, ], /* diff --git a/resources/views/components/nav.blade.php b/resources/views/components/nav.blade.php index eaf4832b33..b6d196a259 100644 --- a/resources/views/components/nav.blade.php +++ b/resources/views/components/nav.blade.php @@ -1,8 +1,6 @@ -@inject('nav', 'Filament\Navigation') -