Customizing Profile Page in Tenant Panel

How do I customize the base profile page for a user who happens to belong to a panel that has tenants? I keep getting an error such as:
Missing required parameter for [Route: filament.company.pages.dashboard] [URI: company/{tenant}] [Missing parameter: tenant].
Missing required parameter for [Route: filament.company.pages.dashboard] [URI: company/{tenant}] [Missing parameter: tenant].
4 Replies
Andrew Wallo
Andrew Wallo12mo ago
In fact, any page thats in a panel (that happens to have a tenant), the url has to have the tenant parameter, which essentially means that a user profile page can't be inside any panel that has a tenant.... because the user may not have created a tenant yet. Unless is there a way to not have this happen???
Vincent
Vincent10mo ago
@Andrew Wallo Hi! Did you ever find a way to work with this? I'm seeing the same problem using the Spatie roles and permissions package.
Andrew Wallo
Andrew Wallo10mo ago
No I haven’t
Vincent
Vincent10mo ago
Man. I’m actually not even able to access the basic Resource routes since I added tenancy to my panel. Like {tenant}/location/create results in the same error. Actually it's working fine! I just had a stray route helper call that wasn't including the new tenant model. oops.