mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-08-21 04:02:22 +02:00
[aidan] feat/workflows-browser: spawn run browser cards on the dashboard the renderer is showing
This commit is contained in:
@@ -355,6 +355,10 @@ async def websocket_dashboard(websocket: WebSocket):
|
||||
payload.get("request_id", ""),
|
||||
payload,
|
||||
)
|
||||
elif event == "dashboard:active":
|
||||
dash_id = payload.get("dashboard_id")
|
||||
if dash_id:
|
||||
ws_manager.set_active_dashboard(websocket, dash_id)
|
||||
except WebSocketDisconnect:
|
||||
ws_manager.disconnect_global(websocket)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user