From b09f8e4b5ed2618882dea1c43cf3de091f825fd1 Mon Sep 17 00:00:00 2001 From: Carlos Tello Date: Wed, 14 Oct 2026 21:30:06 -0300 Subject: [PATCH] =?UTF-8?q?fix(ui):=20eliminar=20pesta=C3=B1a=20'Predio=20?= =?UTF-8?q?y=20Movimientos'=20para=20preservar=20el=20esquema=20estricto?= =?UTF-8?q?=20de=20Entrada=20y=20Salida?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/ControlPostView.tsx | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) 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 (