FilamentF
Filament13mo ago
Damorus

Make a hard page refresh when changing tenant

I have a multi-tenancy app.
I have registered a render hook to the "before global search" place. This view contains the label of the current logged in tenant.
But when I change the tenant, this render hook is not refreshed.
So my solution is just to do a page refresh whenever you change tenant.

But how can I do this? Eiter a hard refresh on tenant change - or refresh all render hooks on tenant change?
Was this page helpful?