From 78e51ac797bda119cc98984e7049f956f08d345a Mon Sep 17 00:00:00 2001 From: csawatzky Date: Wed, 27 Aug 2025 16:58:49 -0600 Subject: [PATCH] fixed issue where the scan card would not appear if you navigate to the device page by any way other than the devices table --- src/pages/Device.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Device.tsx b/src/pages/Device.tsx index a06a173..4d7d41f 100644 --- a/src/pages/Device.tsx +++ b/src/pages/Device.tsx @@ -167,7 +167,7 @@ export default function DevicePage() { } const loadPortScan = () => { - deviceAPI.listFoundComponents(device.id()) + deviceAPI.listFoundComponents(parseInt(deviceID)) .then(resp => { if (resp.data.foundComponents?.i2c){ setScannedAddresses(resp.data.foundComponents ?? undefined)