chore: fix inbox type in fb inbox warnings

This commit is contained in:
Muhsin Keloth
2025-04-16 13:27:40 +05:30
parent 4da92bbc12
commit 7aa738dc37
6 changed files with 27 additions and 23 deletions
@@ -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() {