Adding Custom Page in Navigation

I have created a custom page which I have added in config as:
 public function panel(Panel $panel): Panel
    {
        return $panel
        ->navigationItems([
            NavigationItem::make('Active Loans')
                ->url('active')
                ->icon('fas-coins')
                ->isActiveWhen(fn (): bool => request()->routeIs('filament.admin.resources.loans.active')),
               
        ]) 
//other lines of codes here 

What I want is to add this now to the NavigationGroup. Its appearing on the sidebar but I want it to appear under NavigationGroup. I have tried to add the navigation group inside the custom page itself as: protected static ?string $navigationGroup = 'Loans'; but its not working
Was this page helpful?