mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 19:48:08 +00:00
fix: TypeError cannot read properties of undefined (reading 'status') (#9505)
This commit is contained in:
@@ -987,7 +987,7 @@ export default {
|
||||
allSelectedConversationsStatus(status) {
|
||||
if (!this.selectedConversations.length) return false;
|
||||
return this.selectedConversations.every(item => {
|
||||
return this.$store.getters.getConversationById(item).status === status;
|
||||
return this.$store.getters.getConversationById(item)?.status === status;
|
||||
});
|
||||
},
|
||||
onContextMenuToggle(state) {
|
||||
|
||||
Reference in New Issue
Block a user