mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
Bug on login when chat is down
This commit is contained in:
@@ -340,6 +340,7 @@ export class ChatService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setheader() {
|
setheader() {
|
||||||
|
try {
|
||||||
if (this.p.userPermission(this.p.permissionList.Chat.access)) {
|
if (this.p.userPermission(this.p.permissionList.Chat.access)) {
|
||||||
this.loggedUserChat = this.authService.ValidatedUserChat;
|
this.loggedUserChat = this.authService.ValidatedUserChat;
|
||||||
this.headers = new HttpHeaders();
|
this.headers = new HttpHeaders();
|
||||||
@@ -353,6 +354,9 @@ export class ChatService {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} catch (error) {
|
||||||
|
console.log(error)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
refreshtoken() {
|
refreshtoken() {
|
||||||
|
|||||||
Reference in New Issue
Block a user