chore: Add support for message_templates in API inbox (#4835)
This commit is contained in:
parent
9bac5873ef
commit
3f3ee6c34a
8 changed files with 44 additions and 25 deletions
|
@ -267,7 +267,8 @@ export default {
|
|||
return false;
|
||||
},
|
||||
hasWhatsappTemplates() {
|
||||
return !!this.inbox.message_templates;
|
||||
return !!this.$store.getters['inboxes/getWhatsAppTemplates'](this.inboxId)
|
||||
.length;
|
||||
},
|
||||
enterToSendEnabled() {
|
||||
return !!this.uiSettings.enter_to_send_enabled;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue