mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-03 12:37:56 +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) {
|
allSelectedConversationsStatus(status) {
|
||||||
if (!this.selectedConversations.length) return false;
|
if (!this.selectedConversations.length) return false;
|
||||||
return this.selectedConversations.every(item => {
|
return this.selectedConversations.every(item => {
|
||||||
return this.$store.getters.getConversationById(item).status === status;
|
return this.$store.getters.getConversationById(item)?.status === status;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
onContextMenuToggle(state) {
|
onContextMenuToggle(state) {
|
||||||
|
|||||||
Reference in New Issue
Block a user