feat: Dedicated tab for campaigns (#2741)

This commit is contained in:
Muhsin Keloth
2021-08-11 20:29:33 +05:30
committed by GitHub
parent 8daf1fe033
commit 4d668d8db3
22 changed files with 477 additions and 505 deletions

View File

@@ -66,8 +66,11 @@ export const getters = {
return $state.uiFlags;
},
getWebsiteInboxes($state) {
return $state.records.filter(item => item.channel_type === INBOX_TYPES.WEB);
},
getTwilioInboxes($state) {
return $state.records.filter(
item => item.channel_type === 'Channel::WebWidget'
item => item.channel_type === INBOX_TYPES.TWILIO
);
},
};