bug: fixes error in creating a new one off campaign (#3067)

* bug: fixes error in creating a new one off campaign

* Review fixes

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
This commit is contained in:
Sivin Varghese
2021-09-24 20:37:30 +05:30
committed by GitHub
parent 1cb2226dbc
commit 8b7f6c691a
5 changed files with 13 additions and 3 deletions

View File

@@ -73,6 +73,11 @@ export const getters = {
item => item.channel_type === INBOX_TYPES.TWILIO
);
},
getTwilioSMSInboxes($state) {
return $state.records.filter(
item => item.channel_type === INBOX_TYPES.TWILIO && item.medium === 'sms'
);
},
};
export const actions = {