feat: version 4.16.1 -- Equipos: filas sin subniveles alineadas con los grupos
Incluye el registro del despliegue de 4.16.0 en ESTADO y PRODUCCION. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -67,12 +67,12 @@ export function ListView({ columns, rows, searchValue, getSearchHaystack, onRowC
|
||||
</td>
|
||||
)}
|
||||
{columns.map((col, index) => (
|
||||
<td key={col.key} style={index === 0 && child ? { paddingLeft: 38 } : undefined}>
|
||||
{index === 0 && isParent ? (
|
||||
<td key={col.key} style={index === 0 && child ? { paddingLeft: 54 } : undefined}>
|
||||
{index === 0 && getChildren && !child ? (
|
||||
<span className="list-tree-cell">
|
||||
<button type="button" className="tree-toggle" aria-expanded={open} aria-label={t(open ? 'common_collapse' : 'common_expand')} onClick={(e) => { e.stopPropagation(); onToggle(); }}>
|
||||
{isParent ? <button type="button" className="tree-toggle" aria-expanded={open} aria-label={t(open ? 'common_collapse' : 'common_expand')} onClick={(e) => { e.stopPropagation(); onToggle(); }}>
|
||||
{open ? <ChevronDown size={14} /> : <ChevronRight size={14} />}
|
||||
</button>
|
||||
</button> : <span className="tree-toggle list-tree-dot" aria-hidden="true" />}
|
||||
{col.render ? col.render(row) : row[col.key]}
|
||||
</span>
|
||||
) : (col.render ? col.render(row) : row[col.key])}
|
||||
|
||||
Reference in New Issue
Block a user