This commit is contained in:
Peter Maquiran
2021-08-25 13:04:15 +01:00
parent 3798d61632
commit 75a714a03a
8 changed files with 8 additions and 36 deletions
@@ -22,7 +22,6 @@ export class ViewEventPage implements OnInit {
isEventEdited: boolean;
eventBody: EventBody;
loadedAttachments:any;
loadedEventAttachments: Attachment[];
pageId: string;
showLoader: boolean;
@@ -44,7 +43,6 @@ export class ViewEventPage implements OnInit {
constructor(
private eventsService: EventsService,
private attachmentsService: AttachmentsService,
public alertController: AlertController,
private iab: InAppBrowser,
private processes: ProcessesService,
@@ -96,7 +94,6 @@ export class ViewEventPage implements OnInit {
this.loadedEvent = res;
this.today = new Date(res.StartDate);
this.customDate = this.days[this.today.getDay()]+ ", " + this.today.getDate() +" de " + ( this.months[this.today.getMonth()]);
this.getAttachments(this.loadedEvent.EventId);
}, (error)=> {
console.log('errer', )
@@ -142,12 +139,6 @@ export class ViewEventPage implements OnInit {
}
getAttachments(eventId){
this.attachmentsService.getAttachmentsById(eventId).subscribe(res=>{
this.loadedAttachments = res;
console.log(res);
});
}
async editEvent() {
this.viewEventDetailDismiss.emit({