mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
Code refactoring (5) (es5 -> es2015)
This commit is contained in:
parent
c148e19ea3
commit
cec53b111f
68 changed files with 2210 additions and 2472 deletions
|
|
@ -4,8 +4,7 @@ import App from 'App/Admin';
|
|||
|
||||
class LoginAdminScreen extends AbstractScreen
|
||||
{
|
||||
constructor()
|
||||
{
|
||||
constructor() {
|
||||
super('login', [
|
||||
require('View/Admin/Login')
|
||||
]);
|
||||
|
|
|
|||
|
|
@ -13,12 +13,11 @@ import {SecurityAdminSettings} from 'Settings/Admin/Security';
|
|||
import {SocialAdminSettings} from 'Settings/Admin/Social';
|
||||
import {PluginsAdminSettings} from 'Settings/Admin/Plugins';
|
||||
import {PackagesAdminSettings} from 'Settings/Admin/Packages';
|
||||
// import {AboutAdminSettings} from 'Settings/Admin/About';
|
||||
import {AboutAdminSettings} from 'Settings/Admin/About';
|
||||
|
||||
class SettingsAdminScreen extends AbstractSettingsScreen
|
||||
{
|
||||
constructor()
|
||||
{
|
||||
constructor() {
|
||||
super([
|
||||
require('View/Admin/Settings/Menu'),
|
||||
require('View/Admin/Settings/Pane')
|
||||
|
|
@ -70,8 +69,8 @@ class SettingsAdminScreen extends AbstractSettingsScreen
|
|||
'AdminSettingsLicensing', 'TABS_LABELS/LABEL_LICENSING_NAME', 'licensing');
|
||||
}
|
||||
|
||||
// addSettingsViewModel(AboutAdminSettings,
|
||||
// 'AdminSettingsAbout', 'TABS_LABELS/LABEL_ABOUT_NAME', 'about');
|
||||
addSettingsViewModel(AboutAdminSettings,
|
||||
'AdminSettingsAbout', 'TABS_LABELS/LABEL_ABOUT_NAME', 'about');
|
||||
|
||||
runSettingsViewModelHooks(true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue