render hook seemingly called from wrong panel
have this render hook in my
AppPanelProvider
only, but when I navigate to my admin panel, it gives an error from the livewire component that this hook references.
There's nothing in my AdminPanelProvider
referencing that component.3 Replies
Not sure it matters, but the error is a Route [filament.admin.resources.locations.vendors] not defined, because the vendors page only exists in my app panel. The livewire component called in the render hook is referencing this page.
nvm, my solution was not a solution. It doesn't seem that you can apply scopes to a panel like you can with a page. It seems like it should just work by registering it, so i'm confused.
Does it work if you enumerate the Resources/Pages on which you want it to display? ie: limit it to the pages/resources that your Admin panel detects?
eg: