mudanca o botao Tempo no hear fica Mais

This commit is contained in:
2026-10-23 15:58:59 +02:00
parent d242482042
commit 89a9c3d994
@@ -52,7 +52,7 @@ export function PortalGroupedMenu() {
legacyContentEnabled?: boolean;
profileAccess?: ProfileAccess | null;
opportunityManagement?: OpportunityManagementAccess | null;
scopedAdministration?: {label:string;href:string}[];
scopedAdministration?: { label: string; href: string }[];
}>();
const { t, language, requestCount } = useTempoUi();
const mobile = useIsMobile();
@@ -71,7 +71,16 @@ export function PortalGroupedMenu() {
opportunityManagement: props.opportunityManagement,
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 currentItem = currentNavigationItem(groups, url);
const [loggingOut, setLoggingOut] = useState(false);
@@ -247,7 +256,7 @@ export function PortalGroupedMenu() {
institutionalCurrent || undefined
}
>
Tempo
Mais
<ChevronDown size={14} aria-hidden="true" />
</DropdownMenuTrigger>
<DropdownMenuContent