mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Replaced _.has() with native Object.prototype.hasOwnProperty.call()
This commit is contained in:
parent
84ac7dc893
commit
756fe81091
3 changed files with 4 additions and 6 deletions
|
|
@ -6,7 +6,6 @@ import {
|
|||
noop,
|
||||
trim,
|
||||
log,
|
||||
has,
|
||||
isArray,
|
||||
isUnd,
|
||||
isNormal,
|
||||
|
|
@ -703,7 +702,7 @@ class AppUser extends AbstractApp {
|
|||
|
||||
if (data.Result.Flags) {
|
||||
for (uid in data.Result.Flags) {
|
||||
if (has(data.Result.Flags, uid)) {
|
||||
if (Object.prototype.hasOwnProperty.call(data.Result.Flags, uid)) {
|
||||
check = true;
|
||||
const flags = data.Result.Flags[uid];
|
||||
storeMessageFlagsToCacheByFolderAndUid(folderFromCache.fullNameRaw, uid.toString(), [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue