This commit is contained in:
tiago.kayaya
2021-09-15 15:39:55 +01:00
parent 0e8cb6258a
commit 8f52a10ec9
3 changed files with 14 additions and 6 deletions
@@ -166,7 +166,7 @@ export class EditEventPage implements OnInit {
const str: any = this.postEvent.EventRecurrence.Type.toString()
this.postEvent.EventRecurrence.Type = str
}
this.Form = new FormGroup({
Subject: new FormControl(this.postEvent.Subject, [
Validators.required,
@@ -371,6 +371,7 @@ export class EditEventPage implements OnInit {
deleteAttachment(attachmentID: string, index) {
const id: any = this.loadedEventAttachments[index].Id
if(id == 'add') {
@@ -379,6 +380,10 @@ export class EditEventPage implements OnInit {
this.loadedEventAttachments[index]['remove'] = true
}
this.attachmentsService.deleteEventAttachmentById(attachmentID).subscribe(res => {
console.log(res);
});
}
async getDoc() {