first iteration of basic layout
This commit is contained in:
parent
65cb7acbab
commit
487c8617e4
5 changed files with 100 additions and 23 deletions
|
|
@ -412,7 +412,16 @@ export default function DevicePage() {
|
|||
/>
|
||||
</Grid>
|
||||
{/* add grid card here for I2C detected components */}
|
||||
|
||||
{(scannedAddresses?.i2c || scannedAddresses?.oneWire) &&
|
||||
<Grid size={{ xs: 12 }}>
|
||||
<DeviceScannedComponents
|
||||
scannedComponents={scannedAddresses}
|
||||
device={device}
|
||||
availablePositions={availablePositions}
|
||||
availableOffsets={availableOffsets}
|
||||
refreshCallback={loadDevice}/>
|
||||
</Grid>
|
||||
}
|
||||
{diagnosticComponents.map(comp => (
|
||||
<Grid size={{ xs: 12 }} key={comp.key()}>
|
||||
<ComponentDiagnostics
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue