mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Improved AbstractScreen properties
Improved settings screens Views: * sDefaultScope & sCurrentScope to sub-class keyScope * drop viewModelVisible * rename viewModelTemplateID to templateID * rename viewModelPosition to viewType
This commit is contained in:
parent
11f69ef9e4
commit
8be4c384bb
27 changed files with 136 additions and 196 deletions
|
|
@ -19,10 +19,7 @@ export class SettingsAdminScreen extends AbstractSettingsScreen {
|
|||
super([MenuSettingsAdminView, PaneSettingsAdminView]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Function=} fCallback = null
|
||||
*/
|
||||
setupSettings(fCallback = null) {
|
||||
setupSettings() {
|
||||
settingsAddViewModel(
|
||||
GeneralAdminSettings,
|
||||
'AdminSettingsGeneral',
|
||||
|
|
@ -49,8 +46,6 @@ export class SettingsAdminScreen extends AbstractSettingsScreen {
|
|||
);
|
||||
|
||||
runSettingsViewModelHooks(true);
|
||||
|
||||
fCallback && fCallback();
|
||||
}
|
||||
|
||||
onShow() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue