mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
add temporary vification on profile picture
This commit is contained in:
@@ -44,8 +44,12 @@ export class EditProfilePage implements OnInit {
|
||||
}
|
||||
getProfilpictureFromStorage() {
|
||||
this.storageService.get(this.SessionStore.user.RoleID.toString()).then((picture) => {
|
||||
if(picture) {
|
||||
this.profilePicture = picture
|
||||
} else {
|
||||
this.profilePicture = "";
|
||||
}
|
||||
console.log(picture)
|
||||
this.profilePicture = picture
|
||||
}).catch((error) => {
|
||||
this.profilePicture = "";
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user