From 89a9c3d9949979e97c168bfa82cff9c01ca83aca Mon Sep 17 00:00:00 2001 From: Paulo Massingue Date: Fri, 23 Oct 2026 15:58:59 +0200 Subject: [PATCH] mudanca o botao Tempo no hear fica Mais --- resources/js/components/portal-grouped-menu.tsx | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/resources/js/components/portal-grouped-menu.tsx b/resources/js/components/portal-grouped-menu.tsx index 9e24c967..b3c4d849 100644 --- a/resources/js/components/portal-grouped-menu.tsx +++ b/resources/js/components/portal-grouped-menu.tsx @@ -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