Pesquisa avançada fixed

This commit is contained in:
Eudes Inácio
2023-06-10 10:55:30 +01:00
12 changed files with 85 additions and 43 deletions
@@ -3,7 +3,7 @@
<div class="main-header">
<div class="title-content">
<div class="middle">
<ion-label class="title">Editar Evento</ion-label> <br>
<ion-label id="edit-event-desktop" class="title">Editar Evento</ion-label> <br>
<i style="margin-top: -3px; font-size: 15px;" > Campos marcados com * são obrigatórios</i>
</div>
</div>
@@ -450,13 +450,15 @@ export class EditEventPage implements OnInit {
}
async getAttachments(eventId: string){
let rest: any;
try {
rest = this.attachmentsService.getAttachmentsById(eventId).toPromise()
} catch (error) {
console.error('getAttchment', error)
if(this.postEvent.HasAttachments) {
let rest: any;
try {
rest = this.attachmentsService.getAttachmentsById(eventId).toPromise()
} catch (error) {
console.error('getAttchment', error)
}
this.loadedEventAttachments = rest;
}
this.loadedEventAttachments = rest;
}
deleteAttachment(attachmentID: string, index) {