Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin only works when panel 'id' is named 'admin' #56

Open
ChrisToxz opened this issue Nov 4, 2024 · 0 comments
Open

Plugin only works when panel 'id' is named 'admin' #56

ChrisToxz opened this issue Nov 4, 2024 · 0 comments

Comments

@ChrisToxz
Copy link

It seems like the navigation, and page is only registered when the panel id is identical to admin.
In fact, where I want to use this plugin, the panel id is different than 'admin'.

  1. The route is registered in route:list but returns a 404.
  2. If I adjust something wrong in the config file, the URL returns a PHP error, so it tries to loads it.

If I change the panel id to 'admin', it starts to work and the navigation is visible.

Unfortunately no clue where this logic lays around in Filament plugins.

Laravel: 11.30
PHP: 8.3.12
Filament: 3.2.122

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant