fix: Whatsapp template picker bug
- Enforce lowercasing the template status value before checking the value
This commit is contained in:
@@ -69,7 +69,7 @@ export default {
|
||||
whatsAppTemplateMessages() {
|
||||
return this.$store.getters['inboxes/getWhatsAppTemplates'](
|
||||
this.inboxId
|
||||
).filter(template => template.status === 'approved');
|
||||
).filter(template => template.status.toLowerCase() === 'approved');
|
||||
},
|
||||
filteredTemplateMessages() {
|
||||
return this.whatsAppTemplateMessages.filter(template =>
|
||||
|
||||
Reference in New Issue
Block a user