Improve AppUser.bootstart

This commit is contained in:
djmaze 2021-09-23 14:24:06 +02:00
parent 3c8cdcbb07
commit 9158fcd0eb
6 changed files with 81 additions and 118 deletions

View file

@ -1,5 +1,4 @@
import ko from 'ko';
import { SettingsGet } from 'Common/Globals';
import { addObservablesTo } from 'Common/Utils';
export const AccountUserStore = {
@ -18,11 +17,6 @@ export const AccountUserStore = {
// });
// return result;
// }),
populate: () => {
AccountUserStore.email(SettingsGet('Email'));
AccountUserStore.parentEmail(SettingsGet('ParentEmail'));
}
};
addObservablesTo(AccountUserStore, {