Only show the current detector

This commit is contained in:
Nick Mowen 2022-11-09 16:40:22 -07:00
parent 77ee99279d
commit 3ca33ff3d7

View File

@ -71,13 +71,11 @@ export default function Debug() {
</Tr>
</Thead>
<Tbody>
{detectorNames.map((detector, i) => (
<Tr key={i} index={i}>
{detectorDataKeys.map((name) => (
<Td key={`${name}-${detector}`}>{detectors[detector][name]}</Td>
))}
</Tr>
))}
<Tr>
{detectorDataKeys.map((name) => (
<Td key={`${name}-${detector}`}>{detectors[detector][name]}</Td>
))}
</Tr>
</Tbody>
</Table>
</div>