Replace device id with device name

This commit is contained in:
Pierre HUBERT 2024-11-19 18:50:57 +01:00
parent b2878510d6
commit dc621984fb

View File

@ -81,7 +81,7 @@ function ValidatedDevicesList(p: {
<Table sx={{ minWidth: 650 }} aria-label="simple table"> <Table sx={{ minWidth: 650 }} aria-label="simple table">
<TableHead> <TableHead>
<TableRow> <TableRow>
<TableCell>#</TableCell> <TableCell>Name</TableCell>
<TableCell align="center">Model</TableCell> <TableCell align="center">Model</TableCell>
<TableCell align="center">Version</TableCell> <TableCell align="center">Version</TableCell>
<TableCell align="center">Max relays</TableCell> <TableCell align="center">Max relays</TableCell>
@ -99,7 +99,7 @@ function ValidatedDevicesList(p: {
onDoubleClick={() => navigate(DeviceURL(dev))} onDoubleClick={() => navigate(DeviceURL(dev))}
> >
<TableCell component="th" scope="row"> <TableCell component="th" scope="row">
{dev.id} {dev.name}
</TableCell> </TableCell>
<TableCell align="center">{dev.info.reference}</TableCell> <TableCell align="center">{dev.info.reference}</TableCell>
<TableCell align="center">{dev.info.version}</TableCell> <TableCell align="center">{dev.info.version}</TableCell>