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
@@ -122,11 +122,11 @@ export const getters = {
item => item.channel_type !== INBOX_TYPES.EMAIL
);
},
getFacebookInboxByInstagramId: $state => instagramId => {
getInstagramInboxByInstagramId: $state => instagramId => {
return $state.records.find(
item =>
item.instagram_id === instagramId &&
item.channel_type === INBOX_TYPES.FB
item.channel_type === INBOX_TYPES.INSTAGRAM
);
},
};