home dash

This commit is contained in:
CHIEFSOFT\ameye
2024-02-08 08:05:44 -05:00
parent b6cf7000ce
commit 640c93cf18
+1 -51
View File
@@ -164,61 +164,11 @@ export class SessionDataProviderService {
this.refresh = loginResult.refresh;
this.family_types= loginResult.family_types;
this.history_types =loginResult.history_types;
this.home_dash_type =loginResult.home_dash_type;
this.home_dash_type = (loginResult.home_dash_type != null)? loginResult.home_dash_type : 'DEFAULT_HOME_DASH';
this.family_action =loginResult.family_action;
//this.pushNotificationProvider.tagUser(this.session);
this.session_contructed = true;
// this.SessionUser.added = loginResult.added;
/* this.SessionUser.added = "";
this.SessionUser.balance = loginResult.balance;
this.SessionUser.city = loginResult.city;
this.SessionUser.country = loginResult.country;
this.SessionUser.email = loginResult.email;
this.SessionUser.fb_id = loginResult.fb_id;
this.SessionUser.firstname = loginResult.firstname;
this.SessionUser.id = loginResult.id;
this.SessionUser.last_login = loginResult.last_login;
this.SessionUser.loc = loginResult.loc;
this.SessionUser.member_id = loginResult.member_id;
this.SessionUser.news = loginResult.news;
this.SessionUser.phone = loginResult.phone;
this.SessionUser.post_jobs = loginResult.post_jobs;
this.SessionUser.profile_pic = loginResult.profile_pic;
this.SessionUser.session = loginResult.session;
this.SessionUser = {
added: loginResult.added,
balance: loginResult.balance,
city: loginResult.city,
country: loginResult.country,
email: loginResult.email,
fb_id: loginResult.fb_id,
firstname: loginResult.firstname,
id: loginResult.id,
last_login: loginResult.last_login,
lastname: loginResult.lastname,
loc: loginResult.loc,
member_id: loginResult.member_id,
news: loginResult.news,
phone: loginResult.phone,
post_jobs: loginResult.post_jobs,
profile_pic: loginResult.profile_pic,
refer: loginResult.refer,
session: loginResult.session,
state: loginResult.state,
status: loginResult.status,
username: loginResult.username
};
this.storage.set('sessionuser', JSON.stringify(this.SessionUser));
*/
} catch (error) {
console.log("LOGIN STORAGE ERROR->" + error);