fix: Use default from attribute if undefined (#3977)

This commit is contained in:
Pranav Raj S 2022-02-14 17:37:40 +05:30 committed by GitHub
parent 04148b95a6
commit 9c7044c81b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ export default {
}, },
computed: { computed: {
fromMail() { fromMail() {
const from = this.emailAttributes.from; const from = this.emailAttributes.from || [];
return from.join(', '); return from.join(', ');
}, },
toMails() { toMails() {