Pivot: improve filterRows normalization for pivoted cells

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Paul Trowbridge 2026-04-14 22:07:29 -04:00
parent e3ceb70fc6
commit 7ec571635a

View File

@ -119,7 +119,7 @@ export default function Pivot({ source }) {
if (!row) return
setClickDetail({ row, config, column_names })
const matched = filterRows(allRowsRef.current, row, config || {})
setInspectedRows(matched.length > 0 ? matched : [row])
setInspectedRows(matched)
})
await viewer.load(worker)