diff --git a/html/template/sync/planning-root.html b/html/template/sync/planning-root.html index ceaf33d3..e5d69396 100644 --- a/html/template/sync/planning-root.html +++ b/html/template/sync/planning-root.html @@ -81,6 +81,11 @@ init() { this.loadData(); document.addEventListener("DOMContentLoaded", () => { + SSEManager.subscribe("*", (e) => { + if (e.resource == "sync:signal") { + this.loadData(); + } + }); const map = document.querySelector("map-multipoint"); map.on("load", () => { map.addLayer({