Fix EmailIntegrationActions for display emails (#667)
Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
parent
a67dff14a4
commit
55bbb476a9
|
|
@ -60,11 +60,11 @@ onBeforeUnmount(() => {
|
|||
|
||||
const firstEmail = computed(() => {
|
||||
const emails = mentionAsText(props.integration.data.send_to).split('\n').filter(Boolean)
|
||||
return emails[0] || ''
|
||||
return emails[0].replace(/<[^>]*>/g, '') || ''
|
||||
})
|
||||
|
||||
const additionalEmailsCount = computed(() => {
|
||||
const emails = mentionAsText(props.integration.data.send_to).split('\n').filter(Boolean)
|
||||
return Math.max(0, emails.length - 1)
|
||||
})
|
||||
</script>
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue