diff --git a/frontend/app/store/global.ts b/frontend/app/store/global.ts index ef2df05db..49eb96fce 100644 --- a/frontend/app/store/global.ts +++ b/frontend/app/store/global.ts @@ -604,7 +604,7 @@ function subscribeToConnEvents() { function getConnStatusAtom(conn: string): jotai.PrimitiveAtom { let rtn = ConnStatusMap.get(conn); if (rtn == null) { - const connStatus: ConnStatus = { connection: conn, connected: false, error: null }; + const connStatus: ConnStatus = { connection: conn, connected: false, error: null, status: "disconnected" }; rtn = jotai.atom(connStatus); ConnStatusMap.set(conn, rtn); }