wsh view works -- uses a WS event to send to the frontend

This commit is contained in:
sawka
2024-06-24 19:04:08 -07:00
parent 3d00a05aa0
commit 7bf64fb268
9 changed files with 90 additions and 18 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ func (w *Watcher) Close() {
func (w *Watcher) broadcast(message WatcherUpdate) {
// send to frontend
eventbus.SendEvent(eventbus.WSEventType{
EventType: "config",
EventType: eventbus.WSEvent_Config,
Data: message,
})