diff --git a/extension/popup.js b/extension/popup.js index b6e1561..0b956fb 100644 --- a/extension/popup.js +++ b/extension/popup.js @@ -109,6 +109,7 @@ async function init() { localPeerId = res.peerId; applyConnectionStatus(res.status); updatePeerList(res.peers); + lastKnownPeers = res.peers || []; if (res.lastActionState) updateLastActionUI(res.lastActionState, res.peers); // Populate Tabs using the background's targetTabId