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> </Tr>
</Thead> </Thead>
<Tbody> <Tbody>
{detectorNames.map((detector, i) => ( <Tr>
<Tr key={i} index={i}> {detectorDataKeys.map((name) => (
{detectorDataKeys.map((name) => ( <Td key={`${name}-${detector}`}>{detectors[detector][name]}</Td>
<Td key={`${name}-${detector}`}>{detectors[detector][name]}</Td> ))}
))} </Tr>
</Tr>
))}
</Tbody> </Tbody>
</Table> </Table>
</div> </div>