Merge branch 'bugfix/chat-tab' into develop_bitOut

This commit is contained in:
Peter Maquiran
2022-08-09 17:05:23 +01:00
7 changed files with 31 additions and 12 deletions
@@ -2,9 +2,9 @@
<ion-toolbar class="header-toolbar">
<div class="main-header">
<div class="title-content">
<div class="back-icon cursor-pointer">
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " (click)="close()" slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " (click)="close()" slot="end" src='assets/images/theme/gov/icons-calendar-arrow-left.svg'></ion-icon>
<div class="back-icon cursor-pointer" (click)="close()">
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="end" src='assets/images/theme/gov/icons-calendar-arrow-left.svg'></ion-icon>
</div>
<div class="div-title">
<ion-label class="title">Nova Conversa</ion-label>
@@ -27,6 +27,7 @@ export class ContactsPage implements OnInit {
sessionStore = SessionStore
@Output() openMessage:EventEmitter<any> = new EventEmitter<any>();
@Output() emptyTextDescriptionOpen:EventEmitter<any> = new EventEmitter<any>();
constructor(
private modalController: ModalController,
@@ -96,20 +97,20 @@ export class ContactsPage implements OnInit {
let first_prev = records[recordIndex - 1].name[0];
let first_current = record.name[0];
if(first_prev != first_current){
if(first_prev != first_current) {
return first_current;
}
return null;
}
doRefresh(event){
doRefresh(event) {
}
close(){
this.modalController.dismiss();
close() {
this.emptyTextDescriptionOpen.emit();
}
clicked(){
clicked() {
}