mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
pull from developer-prod made
This commit is contained in:
@@ -99,8 +99,12 @@ export class ProfilePage implements OnInit {
|
||||
|
||||
getProfilpicture() {
|
||||
this.storageService.get(this.SessionStore.user.RoleID.toString()).then((picture) => {
|
||||
console.log(picture)
|
||||
this.profilePicture = picture
|
||||
if(picture) {
|
||||
this.profilePicture = picture
|
||||
} else {
|
||||
this.profilePicture = "";
|
||||
}
|
||||
/* console.log(picture) */
|
||||
}).catch((error ) => {
|
||||
this.profilePicture = "";
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user