--- id: 679dc6ca-fe03-4fe0-baab-662549b67e78 type: solution title: "Fix connection status indicator showing disconnected" tags: [strat-gameplay-webapp, vue, websocket, fix] importance: 0.5 confidence: 0.8 created: "2026-01-16T21:59:45.713925+00:00" updated: "2026-01-16T21:59:45.713925+00:00" --- Header showed 'Disconnected' while user was actively playing. Root cause: game.vue layout read from gameStore.isConnected which could get out of sync with actual WebSocket state. Fix: Use useWebSocket composable directly as source of truth instead of the store.