mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 22:17:03 +03:00
Bugfix: conflicting File object with native JS
Cleanup: Stores and tooltips
This commit is contained in:
parent
1df2e00862
commit
db0d03db83
43 changed files with 204 additions and 295 deletions
|
|
@ -1,20 +1,14 @@
|
|||
import ko from 'ko';
|
||||
|
||||
class AppAdminStore {
|
||||
constructor() {
|
||||
this.weakPassword = ko.observable(false);
|
||||
export const AppAdminStore = {
|
||||
weakPassword: ko.observable(false),
|
||||
dataFolderAccess: ko.observable(false),
|
||||
|
||||
this.dataFolderAccess = ko.observable(false);
|
||||
}
|
||||
|
||||
populate() {
|
||||
populate: function() {
|
||||
this.weakPassword(!!rl.settings.get('WeakPassword'));
|
||||
/*
|
||||
if (settingsGet('Auth')) {
|
||||
fetch('./data/VERSION?' + Math.random()).then(() => this.dataFolderAccess(true));
|
||||
}
|
||||
rl.settings.get('WeakPassword')
|
||||
&& fetch('./data/VERSION?' + Math.random()).then(() => this.dataFolderAccess(true));
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
export default new AppAdminStore();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue