feat: add attachments section to conversation sidebar (#14371)

This commit is contained in:
Sivin Varghese
2026-05-06 15:13:51 +05:30
committed by GitHub
parent 00ba468486
commit 8f532f45ff
9 changed files with 484 additions and 1 deletions
@@ -57,6 +57,8 @@ const getters = {
getSelectedChatAttachments: ({ selectedChatId, attachments }) => {
return attachments[selectedChatId] || [];
},
getSelectedChatAttachmentsLoaded: ({ selectedChatId, attachments }) =>
selectedChatId !== null && attachments[selectedChatId] !== undefined,
getChatListFilters: ({ conversationFilters }) => conversationFilters,
getLastEmailInSelectedChat: (stage, _getters) => {
const selectedChat = _getters.getSelectedChat;