F
Filament15mo ago
Noxo

Navigation Sorting

How can I put settings item at the end of the navigation list? No matter what I change, I can’t place NavigationItem after NavigationGroup
->navigationItems([
NavigationItem::make('settings')
->label(fn () : string => __('admin.pages.titles.settings'))
->url(fn () : string => \App\Filament\Pages\Settings\General::getUrl())
->icon('heroicon-o-cog')
->sort(999),
])
->navigationItems([
NavigationItem::make('settings')
->label(fn () : string => __('admin.pages.titles.settings'))
->url(fn () : string => \App\Filament\Pages\Settings\General::getUrl())
->icon('heroicon-o-cog')
->sort(999),
])
No description
2 Replies
Patrick Boivin
Patrick Boivin15mo ago
I think items will always be before groups... You can put the item in its own group to reorder it with the other groups.
Noxo
NoxoOP15mo ago
yeah, it seems there is groups priority order. thanks 🙏
Want results from more Discord servers?
Add your server