mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-26 16:26:44 +03:00
Array.isArray to isArray
Array.isNotEmpty to isNonEmptyArray
This commit is contained in:
parent
986b8f056b
commit
0b64083543
30 changed files with 82 additions and 69 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { doc, createElement } from 'Common/Globals';
|
||||
import { isArray } from 'Common/Utils';
|
||||
import { EmailModel } from 'Model/Email';
|
||||
|
||||
const contentType = 'snappymail/emailaddress',
|
||||
|
|
@ -204,7 +205,7 @@ export class EmailAddressesComponent {
|
|||
_setChosen(valArr) {
|
||||
var self = this;
|
||||
|
||||
if (!Array.isArray(valArr)){
|
||||
if (!isArray(valArr)){
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue