mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-25 22:24:11 +00:00
Show user role in company switcher
CompanyResource now includes user_role — the authenticated user's Bouncer role title scoped to that company (e.g. "Owner"). Displayed as a subtitle under each company name in the switcher dropdown.
This commit is contained in:
@@ -17,6 +17,7 @@ export interface Company {
|
||||
address?: Address
|
||||
owner?: User
|
||||
roles: Role[]
|
||||
user_role?: string | null
|
||||
}
|
||||
|
||||
export interface CompanySetting {
|
||||
|
||||
Reference in New Issue
Block a user