mirror of
https://github.com/saphid/frame-control.git
synced 2026-10-06 04:04:21 +02:00
Devices: fixes from review round 7
- Removing every headset leaves none in use (commands fail at once) instead of falling back to the `frame` alias. - ssh goes to the IP that answered for IPv6 too, with a link-local address's interface (verified: frame.local over fe80::…%en9 on the real Frame). - Find results only show in the panel of the headset they were for. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
ba33d2ff40
commit
51ef5d8283
5 files changed
+62
-17
No files matched your search
+1
-1
@@ -2812,7 +2812,7 @@ async function findOn(where, d, btn) {
|
||||
dv.found = { where, dev: d.id, data: await api(`/api/devices/${where}?id=${encodeURIComponent(d.id)}`) };
|
||||
} catch (e) { dv.found = { where, dev: d.id, error: e.message }; }
|
||||
finally { btn.disabled = false; }
|
||||
renderFound(d);
|
||||
if (dv.sel === d.id) renderFound(d); // another headset may be showing by now
|
||||
}
|
||||
function renderFound(d) {
|
||||
const f = dv.found, el = $("dvFound");
|
||||
|
||||
Reference in new issue
Block a user