(id: string)
| 37 | // 'chats.project' rides along so the home cards can label each |
| 38 | // project's kind without a per-card query. |
| 39 | relations: ['chats', 'chats.project'], |
| 40 | // Newest first. Without this the home grid — which shows the first |
| 41 | // nine as "recent" — was showing the user's *oldest* nine, so a tenth |
| 42 | // project pushed the newest one off the page. |
| 43 | order: { chats: { createdAt: 'DESC' } }, |
| 44 | }); |
| 45 | |
| 46 | // A user whose chats are all deleted matches no row under the filter |
no outgoing calls
no test coverage detected