mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
wsh view works -- uses a WS event to send to the frontend
This commit is contained in:
@@ -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,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user