mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
This version uses Rollup instead of WebPack.
Due to that the code is smaller and has changes to prevent Circular Dependencies
This commit is contained in:
parent
5e63ade9dd
commit
ad8fd8879b
49 changed files with 595 additions and 577 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { addSettingsViewModel } from 'Knoin/Knoin';
|
||||
import { settingsAddViewModel } from 'Knoin/Knoin';
|
||||
import { runSettingsViewModelHooks } from 'Common/Plugins';
|
||||
|
||||
import { AbstractSettingsScreen } from 'Screen/AbstractSettings';
|
||||
|
|
@ -25,7 +25,7 @@ export class SettingsAdminScreen extends AbstractSettingsScreen {
|
|||
* @param {Function=} fCallback = null
|
||||
*/
|
||||
setupSettings(fCallback = null) {
|
||||
addSettingsViewModel(
|
||||
settingsAddViewModel(
|
||||
GeneralAdminSettings,
|
||||
'AdminSettingsGeneral',
|
||||
'TABS_LABELS/LABEL_GENERAL_NAME',
|
||||
|
|
@ -43,7 +43,7 @@ export class SettingsAdminScreen extends AbstractSettingsScreen {
|
|||
[PackagesAdminSettings, 'Packages'],
|
||||
[AboutAdminSettings, 'About'],
|
||||
].forEach(item =>
|
||||
addSettingsViewModel(
|
||||
settingsAddViewModel(
|
||||
item[0],
|
||||
'AdminSettings'+item[1],
|
||||
'TABS_LABELS/LABEL_'+item[1].toUpperCase()+'_NAME',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue