fixing the i2c sensors card erroring out when coming back to the page from support view via the breadcrumb
This commit is contained in:
parent
0f09854f02
commit
c263f16346
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ export default function DeviceScannedComponents(props: Props){
|
|||
</Box>
|
||||
{validCompAddresses.length > 0 ? validCompAddresses.map((addr, index) => {
|
||||
return (
|
||||
<ScannedI2C key={index} sensorNum={index+1} addressData={addr} deviceProduct={device.settings.product} componentSelectionCallback={componentSelection} availablePositions={availablePositions.get(quack.AddressType.ADDRESS_TYPE_I2C) ?? []}/>
|
||||
<ScannedI2C key={index} sensorNum={index+1} addressData={addr} deviceProduct={device.settings.product} componentSelectionCallback={componentSelection} availablePositions={availablePositions.get(quack.AddressType.ADDRESS_TYPE_I2C) ?? new Map<quack.ComponentType, number[]>()}/>
|
||||
)
|
||||
}) :
|
||||
<Box sx={{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue