This commit is contained in:
Peter Maquiran
2022-09-27 14:52:01 +01:00
parent c8b984692e
commit c43f7b458a
7 changed files with 25 additions and 27 deletions
+2 -2
View File
@@ -18,9 +18,9 @@
</div>
<div class="div-icon">
<!-- <button (click)="openChatDebuggingPageModal()" title="Nova Conversa Individual" class="btn-no-color font-12">
<button (click)="openChatDebuggingPageModal()" title="Nova Conversa Individual" class="btn-no-color font-12">
Dev
</button> -->
</button>
<button title="Nova Conversa Individual" class="btn-no-color" (click)="openContactsPage()">
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " slot="end" src="assets/images/icons-chat-new-conversation.svg"></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="end" src="assets/images/theme/gov/icons-chat-new-conversation.svg"></ion-icon>
+3 -1
View File
@@ -159,7 +159,9 @@ export class LoginPage implements OnInit {
if(attempt.ChatData) {
await this.authService.loginChat(attempt.ChatData.data);
await this.authService.loginToChatWs();
this.ChatService.setheader()
this.ChatService.setheader();
this.ChatService.refreshtoken();
this.WsChatMethodsService.ReLoadChat();
}
this.getToken();