diff --git a/src/tpl/mail-list.html b/src/tpl/mail-list.html index f268585..8daa37f 100644 --- a/src/tpl/mail-list.html +++ b/src/tpl/mail-list.html @@ -8,7 +8,7 @@
{{email.subject}}
+{{email.subject || 'No subject'}}
{{email.body}}
diff --git a/src/tpl/read.html b/src/tpl/read.html index 727d0f2..4242a1c 100644 --- a/src/tpl/read.html +++ b/src/tpl/read.html @@ -6,7 +6,7 @@{{selected.subject}}
+{{selected.subject || 'No subject'}}
{{selected.sentDate | date:'EEEE, MMM d, yyyy h:mm a'}}
From: {{selected.from[0].name || selected.from[0].address}}
To: {{t.address}}