mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
add temporary vification on profile picture
This commit is contained in:
@@ -98,8 +98,12 @@ export class ProfilePage implements OnInit {
|
||||
|
||||
getProfilpicture() {
|
||||
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