Get Filament id Panel

hello I would like to registerRenderHook only if the id of my panel is different from admin, how can I retrieve the id of my current panel. Filament::getCurrentPanel()->getId(); always return admin
Was this page helpful?