fix: sentry issues [CW-2222][CW-2232] (#7591)
This commit is contained in:
@@ -242,7 +242,9 @@ export default {
|
||||
get() {
|
||||
const inboxList = this.contact.contactableInboxes || [];
|
||||
return (
|
||||
inboxList.find(inbox => inbox.inbox.id === this.targetInbox.id) || {
|
||||
inboxList.find(inbox => {
|
||||
return inbox.inbox?.id && inbox.inbox?.id === this.targetInbox?.id;
|
||||
}) || {
|
||||
inbox: {},
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user