From 7d7ba5734ab71fb90fbc013482c1fffa67404f08 Mon Sep 17 00:00:00 2001 From: archipelago Date: Thu, 2 Jul 2026 03:24:37 -0400 Subject: [PATCH] fix(ui): wire up OpenWrtGateway's back button BackButton is presentational-only (emits click, parent wires navigation) per its own doc comment, but OpenWrtGateway.vue rendered it with no @click handler at all -- clicking it did nothing. Added useRouter + goBack() (-> the 'server' route, matching the page's location under views/server/), same pattern as PeerFiles.vue/CloudFolder.vue. Router-detection (openwrt.scan) spot-checked live: RPC plumbing works end-to-end and returns a valid response, but no physical OpenWrt device was on hand to confirm a true-positive detection. Also noted: detect::scan_subnet does blocking TCP/SSH calls inside an async fn with no .await points -- not proven to cause a real issue yet, but worth hardening (spawn_blocking or async I/O) before a large subnet scan is exercised for real. Co-Authored-By: Claude Sonnet 5 --- neode-ui/src/views/server/OpenWrtGateway.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/neode-ui/src/views/server/OpenWrtGateway.vue b/neode-ui/src/views/server/OpenWrtGateway.vue index fd8c0aee..0b83bf28 100644 --- a/neode-ui/src/views/server/OpenWrtGateway.vue +++ b/neode-ui/src/views/server/OpenWrtGateway.vue @@ -1,8 +1,14 @@