Improved boot.js with existing global window.rl

Put dev/Storage/Settings.js in boots.js global rl.settings
This commit is contained in:
djmaze 2020-09-04 12:05:17 +02:00
parent f90dbcc84b
commit aeb5275648
57 changed files with 284 additions and 380 deletions

View file

@ -1,7 +1,5 @@
import ko from 'ko';
import * as Settings from 'Storage/Settings';
import Remote from 'Remote/Admin/Ajax';
import DomainStore from 'Stores/Admin/Domain';
@ -22,7 +20,7 @@ class PaneSettingsAdminView extends AbstractViewNext {
constructor() {
super();
this.version = ko.observable(Settings.appSettingsGet('version'));
this.version = ko.observable(rl.settings.app('version'));
this.adminManLoading = ko.computed(
() =>