fix attachment not showing up

This commit is contained in:
Peter Maquiran
2024-02-23 11:21:35 +01:00
parent 7b0247f7a3
commit 8831c5a160
@@ -2,13 +2,14 @@
<div class="overflow-x-auto d-flex pa-10 attachment-list" style="background-color: #d9d9d9;" *ngIf="showAttachmentList"> <div class="overflow-x-auto d-flex pa-10 attachment-list" style="background-color: #d9d9d9;" *ngIf="showAttachmentList">
{{ taskViewerAttachment | json }}
<div *ngFor="let attachment of taskViewerAttachment; let i = index" <div *ngFor="let attachment of taskViewerAttachment; let i = index"
class="ion-no-margin ion-no-padding cursor-pointer attachment-list" class="pa-10 mx-10 card-text" class="ion-no-margin ion-no-padding cursor-pointer attachment-list" class="pa-10 mx-10 card-text"
> >
<div class="attachment" (touchstart)="startHold($event, attachment, i)" (touchend)="endHold()" (click)="clickDocument(attachment, i )"> <div class="attachment" (touchstart)="startHold($event, attachment, i)" (touchend)="endHold()" (click)="clickDocument(attachment, i )">
<div *ngIf="attachment.Assunto" class="attach-title-item tex-left"> <div class="attach-title-item tex-left">
{{ attachment.Assunto }} {{ attachment.Assunto || "Sem assunto" }}
<br> <br>
{{ attachment.Sender }} {{ attachment.Sender }}
<br> <br>