add temporary vification on profile picture

This commit is contained in:
Eudes Inácio
2023-10-26 13:28:54 +01:00
parent 25cd137917
commit 6a0fb91876
7 changed files with 46 additions and 37 deletions
+5 -1
View File
@@ -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 = "";
})