This commit is contained in:
Peter Maquiran
2022-03-23 23:00:19 +01:00
parent 6960333d0a
commit d05f9fdf77
3 changed files with 14 additions and 12 deletions
@@ -35,7 +35,7 @@
</ion-refresher>
<div class="messages" #scrollMe>
<div class="messages-list-item-wrapper container-width-100"
*ngFor="let msg of wsChatMethodsService.getDmRoom(roomId).messages; let last = last">
*ngFor="let msg of wsChatMethodsService.getDmRoom(roomId).messages; index as i; let last = last">
<div class='message-item incoming-{{msg.u.username!=loggedUser.me.username}} max-width-45' *ngIf="msg.msg !=''">
<div class="message-item-options d-flex justify-content-end">
<fa-icon [matMenuTriggerFor]="beforeMenu" icon="chevron-down" class="message-options-icon cursor-pointer">
@@ -45,7 +45,7 @@
</mat-menu>
</div>
<div class="title">
<ion-label>{{msg.u.name}} {{msg.delateRequest}}</ion-label>
<ion-label>{{msg.u.name}}</ion-label>
<span class="time">{{msg.duration}}</span>
</div>
<div class="d-flex justify-space-between">
@@ -75,7 +75,7 @@
</mat-menu>
</div>
<div class="title">
<ion-label>{{msg.u.name}} {{msg.delateRequest}}</ion-label>
<ion-label>{{msg.u.name}}</ion-label>
<span class="time">{{msg.duration}}</span>
</div>
<div>