oportunidades 5
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-10 14:15:28 +02:00
parent 6ddafc95ba
commit 01405cbf8a
144 changed files with 28903 additions and 1103 deletions
@@ -1,5 +1,7 @@
import type { ProfileAccess } from '@/types/profile-access';
import { Link, usePage } from '@inertiajs/react';
import { useEffect, useId, useRef, useState } from 'react';
import type { OpportunityManagementAccess } from '@/types/opportunity-management';
import {
portalNavigation,
currentNavigationGroup,
@@ -14,6 +16,8 @@ export function PortalGroupedMenu() {
educationEnabled?: boolean;
aiEnabled?: boolean;
portalOperator?: string | null;
profileAccess?: ProfileAccess | null;
opportunityManagement?: OpportunityManagementAccess | null;
}>();
const groups = portalNavigation({
authenticated: !!props.auth?.user,
@@ -21,6 +25,8 @@ export function PortalGroupedMenu() {
businesses: props.existingBusinessEnabled,
education: props.educationEnabled,
ai: props.aiEnabled,
opportunityManagement: props.opportunityManagement,
profileAccess: props.profileAccess,
});
const current = currentNavigationGroup(groups, url);
const currentItem = currentNavigationItem(groups, url);