mirror of
https://github.com/moparisthebest/mail
synced 2025-02-16 15:10:10 -05:00
just return instead of return null
This commit is contained in:
parent
1fe7c3ce82
commit
d944c00aa8
@ -240,11 +240,11 @@ define(function(require) {
|
||||
|
||||
// check if account has a folders attribute
|
||||
if (!self._account.folders) {
|
||||
return null;
|
||||
return;
|
||||
}
|
||||
// check folder
|
||||
if (!self._account.folders[folderName]) {
|
||||
return null;
|
||||
return;
|
||||
}
|
||||
|
||||
return self._account.folders[folderName][itemId];
|
||||
|
Loading…
Reference in New Issue
Block a user