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({