+ {/* Pestañas de Carriles: Módulos Virtuales Asociados */}
+
{laneTabs.map((tab) => {
const isActive = tab.key === activeLaneTabKey;
const isEntry = tab.direction === 'ENTRY';
const dotColor = isEntry ? '#10B981' : '#EF4444';
- let tabLabel = isEntry ? 'ENTRADA VISITAS' : 'SALIDA DE VISITAS';
- if (tab.name) {
- const norm = tab.name.trim().toUpperCase();
- if (
- norm !== 'ENTRADA' &&
- norm !== 'SALIDA' &&
- norm !== 'ENTRADA VISITAS' &&
- norm !== 'SALIDA DE VISITAS' &&
- !norm.includes('ENTRADA') &&
- !norm.includes('SALIDA')
- ) {
- tabLabel += ` (${tab.name})`;
- }
- }
+ const tabLabel = tab.name ? tab.name.toUpperCase() : (isEntry ? 'ENTRADA VISITAS' : 'SALIDA DE VISITAS');
return (
);
})}