From ced727c96d309b6ee021313c96aef3f04c3cf859 Mon Sep 17 00:00:00 2001 From: you Date: Sun, 22 Mar 2026 22:42:38 +0000 Subject: [PATCH] Fix: packet-detail page loads observers before rendering Direct navigation to #/packet/ID skipped loadObservers(), so obsName() fell through to raw hex pubkey. Now loads observers first. --- public/index.html | 2 +- public/packets.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 58820ca2..842403f5 100644 --- a/public/index.html +++ b/public/index.html @@ -85,7 +85,7 @@ - + diff --git a/public/packets.js b/public/packets.js index bc0f4f29..46ab4231 100644 --- a/public/packets.js +++ b/public/packets.js @@ -1655,6 +1655,7 @@ const param = routeParam; app.innerHTML = `
Loading packet…
`; try { + await loadObservers(); const data = await api(`/packets/${param}`); if (!data?.packet) { app.innerHTML = `

Packet not found

Packet ${param} doesn't exist.

← Back to packets
`; return; } const hops = [];