Display index for serail connection page

This commit is contained in:
Sacha Weatherstone
2022-10-15 19:08:55 +11:00
parent 4f1d2fd0b6
commit a145d4f1d5
@@ -59,7 +59,7 @@ export const Serial = (): JSX.Element => {
void onConnect(port); void onConnect(port);
}} }}
> >
{port.getInfo().usbVendorId} - {port.getInfo().usbProductId} # {index} - {port.getInfo().usbVendorId} - {port.getInfo().usbProductId}
</Button> </Button>
))} ))}
{serialPorts.length === 0 && ( {serialPorts.length === 0 && (