mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
isNonEmptyArray => arrayLength
This commit is contained in:
parent
1e49c1a6ac
commit
5590fd4860
20 changed files with 68 additions and 74 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { isArray, isNonEmptyArray, pString, pInt } from 'Common/Utils';
|
||||
import { isArray, arrayLength, pString, pInt } from 'Common/Utils';
|
||||
|
||||
import {
|
||||
getFolderHash,
|
||||
|
|
@ -371,7 +371,7 @@ class RemoteUserFetch extends AbstractFetchRemote {
|
|||
let request = true;
|
||||
const uids = [];
|
||||
|
||||
if (isNonEmptyArray(list)) {
|
||||
if (arrayLength(list)) {
|
||||
request = false;
|
||||
list.forEach(messageListItem => {
|
||||
if (!MessageFlagsCache.getFor(messageListItem.folder, messageListItem.uid)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue