Branding a panel with tenant info
I was hoping to use a tenants name, logo, color, etc for the branding of a panel but the tenant hasn't been identified by that point. I was hoping that the new multi-tenant domain updates might make that possible but it doesn't appear so. Is there any way to do this currently?
Solution:Jump to solution
I think it's this one: https://discord.com/channels/883083792112300104/1170675024089333800/1170681870556598283
5 Replies
Use a middleware - which runs after identification - and access the current panel via
Filament::getCurrentPanel()
. I think you should be able to modify the settingsAh, good idea. I'll give that a try. Thanks!
This is what I've added to the
middleware
method on the panel. Everything is working expect for the colors
call. Any guess why?
Hm. I remember someone with a similar issue when it came to colors.
Solution
I think it's this one: https://discord.com/channels/883083792112300104/1170675024089333800/1170681870556598283
That was it, thanks!