add remove file on click while criaten oublication

This commit is contained in:
Eudes Inácio
2023-12-12 10:11:48 +01:00
parent e56192ffa4
commit 54fa1d41f0
6 changed files with 18 additions and 6 deletions
@@ -45,7 +45,7 @@
<div class="d-flex justify-content-between">
<div class="d-flex">
<ion-thumbnail *ngFor="let seleted of seletedContent.slice(0, displayLimit), let i = index" lot="start">
<ion-thumbnail *ngFor="let seleted of seletedContent.slice(0, displayLimit), let i = index" (click)="deleteFromSeletedContent(i)" lot="start">
<ion-img *ngIf="checkFileType.checkFileType(seleted.FileExtension) == 'image'"
name="image" ngDefaultControl [src]="seleted.FileBase64"></ion-img>