Properly check for UNDEFINED
parent
80d8ecfad2
commit
367c4a688b
|
@ -27,7 +27,7 @@ class MailRepository {
|
|||
}
|
||||
|
||||
add(to, mailSummary) {
|
||||
if (to !== 'undefined') {
|
||||
if (to !== undefined) {
|
||||
this.mailSummaries.set(to.toLowerCase(), mailSummary)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue