diff --git a/neode-ui/src/views/Mesh.vue b/neode-ui/src/views/Mesh.vue index 64d910e1..259907a8 100644 --- a/neode-ui/src/views/Mesh.vue +++ b/neode-ui/src/views/Mesh.vue @@ -388,13 +388,15 @@ onMounted(async () => { if (!archPollInterval) { archPollInterval = setInterval(loadArchMessages, 15000) } - pollInterval = setInterval(() => { - mesh.fetchStatus() - mesh.fetchPeers() - mesh.fetchMessages() - mesh.fetchDeadmanStatus() - mesh.fetchBlockHeaders() - }, 5000) + if (!pollInterval) { + pollInterval = setInterval(() => { + mesh.fetchStatus() + mesh.fetchPeers() + mesh.fetchMessages() + mesh.fetchDeadmanStatus() + mesh.fetchBlockHeaders() + }, 5000) + } // Instant peer updates (#48): the backend nudges the data-model revision when // it discovers/updates a mesh peer, so refetch peers on the WS push rather @@ -414,7 +416,7 @@ onUnmounted(() => { window.visualViewport.removeEventListener('scroll', updateKeyboardInset) } document.documentElement.style.removeProperty('--keyboard-inset') - if (pollInterval) clearInterval(pollInterval) + if (pollInterval) { clearInterval(pollInterval); pollInterval = null } if (archPollInterval) { clearInterval(archPollInterval); archPollInterval = null } if (wsUnsub) { wsUnsub(); wsUnsub = null } }) diff --git a/neode-ui/src/views/Server.vue b/neode-ui/src/views/Server.vue index 2355d760..ace11b22 100644 --- a/neode-ui/src/views/Server.vue +++ b/neode-ui/src/views/Server.vue @@ -306,7 +306,7 @@
-
+

Scan with the WireGuard app

{{ peerQrData.peer_ip }}

@@ -318,7 +318,7 @@
-
+

Scan with the WireGuard app

{{ peerQrData.peer_ip }}

@@ -406,6 +406,7 @@