awcodes / filament-curator

A media picker plugin for Filament Panels.
MIT License
343 stars 89 forks source link

Navigation Count doesn't work when made active #544

Closed KujengaDigital99 closed 6 days ago

KujengaDigital99 commented 1 month ago

Filament Version

v3.2

Plugin Version

v3.6

PHP Version

8.2

Problem description

Screenshot 2024-10-17 125157

When I disable ->navigationGroup('Content') = The media navigation appears on the left, with the ->navigationCountBadge() showing as well

Expected behavior

How ever when I uncomment ->navigationGroup('Content') = Menu disappears entirely

image

Steps to reproduce

  1. I created a working Model for the Media to be linked
  2. I use CuratorPicker::make()
  3. used the >NavigationCount and it broke

Reproduction repository

No response

Relevant log output

No response

awcodes commented 1 month ago

Your code is working fine in demo app. Can you provide a reproduction repo?

Screenshot 2024-10-18 at 10 51 33 AM

->plugins([
    CuratorPlugin::make()
        ->navigationGroup('Content')
        ->navigationCountBadge()
        ->navigationSort(3),
])