mudanca o botao Tempo no hear fica Mais
This commit is contained in:
@@ -71,7 +71,16 @@ export function PortalGroupedMenu() {
|
|||||||
opportunityManagement: props.opportunityManagement,
|
opportunityManagement: props.opportunityManagement,
|
||||||
profileAccess: props.profileAccess,
|
profileAccess: props.profileAccess,
|
||||||
});
|
});
|
||||||
if (props.scopedAdministration?.length) groups.push({id:'scoped-administration',label:'Administração',children:props.scopedAdministration.map((item,index)=>({id:`scoped-${index}`,label:item.label,href:item.href}))});
|
if (props.scopedAdministration?.length)
|
||||||
|
groups.push({
|
||||||
|
id: 'scoped-administration',
|
||||||
|
label: 'Administração',
|
||||||
|
children: props.scopedAdministration.map((item, index) => ({
|
||||||
|
id: `scoped-${index}`,
|
||||||
|
label: item.label,
|
||||||
|
href: item.href,
|
||||||
|
})),
|
||||||
|
});
|
||||||
const current = currentNavigationGroup(groups, url);
|
const current = currentNavigationGroup(groups, url);
|
||||||
const currentItem = currentNavigationItem(groups, url);
|
const currentItem = currentNavigationItem(groups, url);
|
||||||
const [loggingOut, setLoggingOut] = useState(false);
|
const [loggingOut, setLoggingOut] = useState(false);
|
||||||
@@ -247,7 +256,7 @@ export function PortalGroupedMenu() {
|
|||||||
institutionalCurrent || undefined
|
institutionalCurrent || undefined
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
Tempo
|
Mais
|
||||||
<ChevronDown size={14} aria-hidden="true" />
|
<ChevronDown size={14} aria-hidden="true" />
|
||||||
</DropdownMenuTrigger>
|
</DropdownMenuTrigger>
|
||||||
<DropdownMenuContent
|
<DropdownMenuContent
|
||||||
|
|||||||
Reference in New Issue
Block a user