feat(agencia): kpis y cartera arriba en portafolio y subpagina panel de control conexiones
This commit is contained in:
@@ -23,6 +23,7 @@ import {
|
||||
Sparkles,
|
||||
Images,
|
||||
History,
|
||||
Plug,
|
||||
} from 'lucide-react';
|
||||
import SidebarTenantSwitcher from '@/components/SidebarTenantSwitcher';
|
||||
import type { DashboardModuleId } from '@/lib/tenant-modules';
|
||||
@@ -137,7 +138,7 @@ function shouldShowDateHeader(pathname: string | null): boolean {
|
||||
|
||||
function isActive(pathname: string, href: string): boolean {
|
||||
if (pathname === href) return true;
|
||||
if (href !== '/dashboard' && pathname.startsWith(href + '/')) return true;
|
||||
if (href !== '/dashboard' && href !== '/dashboard/agencia' && pathname.startsWith(href + '/')) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -288,6 +289,15 @@ export default function DashboardShell({
|
||||
}}
|
||||
onNavigate={close}
|
||||
/>
|
||||
<NavLink
|
||||
item={{
|
||||
href: '/dashboard/agencia/conexiones',
|
||||
label: 'Panel de control · clientes y conexiones',
|
||||
icon: Plug,
|
||||
iconClass: 'text-cyan-500',
|
||||
}}
|
||||
onNavigate={close}
|
||||
/>
|
||||
<NavLink
|
||||
item={{
|
||||
href: '/dashboard/historial',
|
||||
|
||||
Reference in New Issue
Block a user