diff --git a/src/app/pages/profile/profile.page.ts b/src/app/pages/profile/profile.page.ts
index 5a635c6..d36801f 100644
--- a/src/app/pages/profile/profile.page.ts
+++ b/src/app/pages/profile/profile.page.ts
@@ -12,7 +12,7 @@ export class ProfilePage implements OnInit {
firstname:string='';
lastname:string='';
email:string='';
-
+ profilePicture:string='';
accountType:string="FULL";
constructor(
@@ -27,6 +27,7 @@ export class ProfilePage implements OnInit {
this.firstname = this.sessionDataProviderService.firstname;
this.lastname = this.sessionDataProviderService.lastname;
this.email = this.sessionDataProviderService.username;
+ this.profilePicture = this.sessionDataProviderService.profilePicture();
}
onFamily() {
diff --git a/src/app/pages/suggestdetails/suggestdetails.page.html b/src/app/pages/suggestdetails/suggestdetails.page.html
index df432a6..a3eb930 100644
--- a/src/app/pages/suggestdetails/suggestdetails.page.html
+++ b/src/app/pages/suggestdetails/suggestdetails.page.html
@@ -31,11 +31,11 @@
- {{suggestData.added |date}}
+ Send: {{suggestData.added |date}}
- {{suggestData.status_text}}
+ Status: {{suggestData.status_text}}
diff --git a/src/app/store/session-data-provider.service.ts b/src/app/store/session-data-provider.service.ts
index 02005c8..76962e3 100644
--- a/src/app/store/session-data-provider.service.ts
+++ b/src/app/store/session-data-provider.service.ts
@@ -180,10 +180,14 @@ export class SessionDataProviderService {
this.isOfferJob = 0;
}
profilePicture(){
+ var defualtProfilePicture = "https://www.wrenchboard.com/assets/images/profile.jpg";
var profile_p = '';
if (this.profile_pic !=''){
profile_p="https://www.wrenchboard.com/smedia/LIVE/profile/"+this.profile_pic;
}
+ else{
+ profile_p = defualtProfilePicture;
+ }
return profile_p;
}
}