mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 11:39:21 +03:00
Added isFunction()
This commit is contained in:
parent
658ac816c8
commit
fe4dbc729c
6 changed files with 13 additions and 21 deletions
|
|
@ -1,11 +1,8 @@
|
|||
import ko from 'ko';
|
||||
|
||||
import {
|
||||
Notification
|
||||
} from 'Common/Enums';
|
||||
|
||||
import { Notification } from 'Common/Enums';
|
||||
import { ClientSideKeyName } from 'Common/EnumsUser';
|
||||
|
||||
import { Settings, SettingsGet } from 'Common/Globals';
|
||||
import { getNotification, reload as translatorReload, convertLangName } from 'Common/Translator';
|
||||
|
||||
import { LanguageStore } from 'Stores/Language';
|
||||
|
|
@ -17,8 +14,6 @@ import Remote from 'Remote/User/Fetch';
|
|||
import { decorateKoCommands, showScreenPopup } from 'Knoin/Knoin';
|
||||
import { AbstractViewCenter } from 'Knoin/AbstractViews';
|
||||
|
||||
import { Settings, SettingsGet } from 'Common/Globals';
|
||||
|
||||
import { LanguagesPopupView } from 'View/Popup/Languages';
|
||||
|
||||
const
|
||||
|
|
@ -131,8 +126,8 @@ class LoginUserView extends AbstractViewCenter {
|
|||
|
||||
this.emailError(!email);
|
||||
this.passwordError(!pass);
|
||||
this.formError(!valid);
|
||||
this.additionalCodeError(totp && !code);
|
||||
this.formError(!valid);
|
||||
|
||||
if (valid) {
|
||||
this.submitRequest(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue