mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
Pesquisa avançada fixed
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user