reconnect rocketchat socket

This commit is contained in:
Eudes Inácio
2023-09-14 11:58:24 +01:00
parent 9cc97dfc0f
commit 540750e0e9
10 changed files with 193 additions and 80 deletions
+7 -4
View File
@@ -75,17 +75,20 @@ export class HeaderPage implements OnInit {
}
async ngOnInit() {
ngOnInit() {
this.hideSearch();
/* this.notificationLengthData(); */
this.getProfilpicture();
this.getProfilpicture();
}
ng
getProfilpicture() {
this.storageService.get(this.SessionStore.user.RoleID.toString()).then((picture) => {
console.log(picture)
this.profilePicture = picture
this.profilePicture = 'data:image/jpeg;base64,' +picture
}).catch((error ) => {
this.profilePicture = "";
})