MED-189: add company to mobile menu

This commit is contained in:
Danel Kungla
2025-10-07 18:30:31 +03:00
parent a50afea145
commit f614759986
3 changed files with 46 additions and 11 deletions

View File

@@ -43,17 +43,9 @@ export function PersonalAccountDropdown({
showProfileName = true,
paths,
features,
account,
accounts = [],
}: {
user: User;
account?: {
id: string | null;
name: string | null;
picture_url: string | null;
application_role: ApplicationRole | null;
};
accounts: {
label: string | null;
value: string | null;

View File

@@ -46,11 +46,10 @@ export function ProfileAccountDropdownContainer(props: {
return (
<PersonalAccountDropdown
className={'w-full'}
className="w-full"
paths={paths}
features={features}
user={userData}
account={props.account}
accounts={props.accounts}
signOutRequested={() => signOut.mutateAsync()}
showProfileName={props.showProfileName}