mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Added q.min file
This commit is contained in:
parent
ed7acaa33f
commit
c4aabb0cd4
7 changed files with 18 additions and 27 deletions
|
|
@ -16,6 +16,7 @@
|
|||
function AccountUserStore()
|
||||
{
|
||||
this.email = ko.observable('');
|
||||
this.parentEmail = ko.observable('');
|
||||
// this.incLogin = ko.observable('');
|
||||
// this.outLogin = ko.observable('');
|
||||
|
||||
|
|
@ -54,6 +55,15 @@
|
|||
AccountUserStore.prototype.populate = function ()
|
||||
{
|
||||
this.email(Settings.settingsGet('Email'));
|
||||
this.parentEmail(Settings.settingsGet('ParentEmail'));
|
||||
};
|
||||
|
||||
/**
|
||||
* @returns {boolean}
|
||||
*/
|
||||
AccountUserStore.prototype.isRootAccount = function ()
|
||||
{
|
||||
return '' === this.parentEmail();
|
||||
};
|
||||
|
||||
module.exports = new AccountUserStore();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue