()
| 2308 | activeRequestIds: [], // Track chat IDs with active requests for UI reactivity |
| 2309 | |
| 2310 | activeChat() { |
| 2311 | if (!this.activeChatId) return null; |
| 2312 | return this.chats.find(c => c.id === this.activeChatId) || null; |
| 2313 | }, |
| 2314 | |
| 2315 | getChat(chatId) { |
| 2316 | return this.chats.find(c => c.id === chatId) || null; |