mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
-1…*.indexOf() to native .includes()
This commit is contained in:
parent
eb15c6e45f
commit
961fa305c9
8 changed files with 19 additions and 19 deletions
|
|
@ -315,7 +315,7 @@ class RemoteUserAjax extends AbstractAjaxRemote {
|
|||
useThreads = AppStore.threadsAllowed() && SettingsStore.useThreads(),
|
||||
inboxUidNext = getFolderInboxName() === sFolderFullNameRaw ? getFolderUidNext(sFolderFullNameRaw) : '';
|
||||
|
||||
if ('' !== folderHash && ('' === sSearch || -1 === sSearch.indexOf('is:'))) {
|
||||
if ('' !== folderHash && ('' === sSearch || !sSearch.includes('is:'))) {
|
||||
return this.defaultRequest(
|
||||
fCallback,
|
||||
'MessageList',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue