refactor: catch failures

This commit is contained in:
Shivam Mishra
2026-06-04 13:06:54 +05:30
parent 186d9e0457
commit 70e9fbc53c
+2 -1
View File
@@ -96,7 +96,8 @@ onMounted(async () => {
store.dispatch('fetchAllAttachments', conversationId.value),
// agents and teams power the @mention dropdown on private notes
store.dispatch('agents/get'),
store.dispatch('teams/get'),
// teams/get rethrows on failure; don't let it break the conversation load
store.dispatch('teams/get').catch(() => {}),
]);
await fetchConversationInbox();