From 1075e35bca3a4cc9f3634a61eb6048dba541dc81 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Sat, 14 Mar 2026 18:13:51 +0000 Subject: [PATCH] Update communications list on event --- html/template/sync/communication-root.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/html/template/sync/communication-root.html b/html/template/sync/communication-root.html index 4b223446..bc472acd 100644 --- a/html/template/sync/communication-root.html +++ b/html/template/sync/communication-root.html @@ -55,6 +55,11 @@ init() { this.loadFromAPI(); document.addEventListener("DOMContentLoaded", () => { + SSEManager.subscribe("*", (e) => { + if (e.resource.startsWith("rmo:")) { + this.fetchCommunications(); + } + }); const map = document.querySelector("map-multipoint"); map.on("load", () => { map.addLayer({