chore: fix inbox type in fb inbox warnings
This commit is contained in:
@@ -213,12 +213,12 @@ export default {
|
||||
// Check there is a facebook inbox with the same instagram_id
|
||||
hasDuplicateInstagramInbox() {
|
||||
const instagramId = this.inbox.instagram_id;
|
||||
const facebookInbox =
|
||||
this.$store.getters['inboxes/getFacebookInboxByInstagramId'](
|
||||
const instagramInbox =
|
||||
this.$store.getters['inboxes/getInstagramInboxByInstagramId'](
|
||||
instagramId
|
||||
);
|
||||
|
||||
return this.inbox.channel_type === INBOX_TYPES.FB && facebookInbox;
|
||||
return this.inbox.channel_type === INBOX_TYPES.FB && instagramInbox;
|
||||
},
|
||||
|
||||
replyWindowBannerMessage() {
|
||||
|
||||
Reference in New Issue
Block a user