diff --git a/frontend/src/views/ControlPostView.tsx b/frontend/src/views/ControlPostView.tsx index 0abdbb4..714da07 100644 --- a/frontend/src/views/ControlPostView.tsx +++ b/frontend/src/views/ControlPostView.tsx @@ -25,7 +25,7 @@ import { export interface LaneTab { key: string; moduleId: number; - direction: 'ENTRY' | 'EXIT' | 'ALL'; + direction: 'ENTRY' | 'EXIT'; name: string; address: number; tipo_acceso_nombre?: string; @@ -211,13 +211,6 @@ export const ControlPostView: React.FC = () => { }); }); } - tabs.push({ - key: 'overview', - moduleId: 0, - direction: 'ALL', - name: 'Predio y Movimientos', - address: 0, - }); return tabs; }, [config]); @@ -800,12 +793,10 @@ export const ControlPostView: React.FC = () => { {laneTabs.map((tab) => { const isActive = tab.key === activeLaneTabKey; const isEntry = tab.direction === 'ENTRY'; - const dotColor = isEntry ? '#10B981' : tab.direction === 'EXIT' ? '#EF4444' : '#60A5FA'; + const dotColor = isEntry ? '#10B981' : '#EF4444'; const tabLabel = isEntry ? `ENTRADA VISITAS${tab.name ? ` (${tab.name})` : ''}` - : tab.direction === 'EXIT' - ? `SALIDA DE VISITAS${tab.name ? ` (${tab.name})` : ''}` - : tab.name.toUpperCase(); + : `SALIDA DE VISITAS${tab.name ? ` (${tab.name})` : ''}`; return (