FilamentF
Filament2y ago
jw

Filament::getPanel('user')->getUrl(); - Potential Bug?

Hello,

I was calling this function within a loop. The first time it correctly gives me the 'user' panel URL. On subsequent calls it seems to ignore the 'user' parameter and returns the url of the default panel ('admin').

I tried splitting the function out to: $panel = Filament::getPanel('user'); $url = $panel->getUrl();

Has anyone come across this before or could offer an explanation?

Thanks
Was this page helpful?