Multi-tenancy title

Hello, I am using Multi-Tenancy, it's going great so far. I need to differentiate browser tabs by showing the current tenant in the title, for instance: Resource X - APP NAME - Company A Resource Y - APP NAME - Company B How can I achieve that without adding the code below to every resource I have?
php
Filament::getTenant()->name
php
Filament::getTenant()->name
Solution:
maybe you could use brandName() on the panel provider to set tenant name - app name
Jump to solution
3 Replies
nuovo2023
nuovo2023OP4w ago
Or: Resource X - Company A - APP NAME Resource Y - Company B - APP NAME
Solution
krekas
krekas4w ago
maybe you could use brandName() on the panel provider to set tenant name - app name
nuovo2023
nuovo2023OP3w ago
Hello, indeed that is what I was looking for, thanks for the help.
Want results from more Discord servers?
Add your server