Properly check for UNDEFINED

main
ClaraCrazy 2024-12-03 07:57:12 +01:00
parent 80d8ecfad2
commit 367c4a688b
No known key found for this signature in database
GPG Key ID: EBBC896ACB497011
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class MailRepository {
}
add(to, mailSummary) {
if (to !== 'undefined') {
if (to !== undefined) {
this.mailSummaries.set(to.toLowerCase(), mailSummary)
}
}