From 0f09854f025828b112c409062107fd85a1f54b0d Mon Sep 17 00:00:00 2001 From: csawatzky Date: Wed, 27 Aug 2025 16:59:42 -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)