mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
save
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
<ion-content>
|
||||
<div class="main-content">
|
||||
|
||||
|
||||
<div class="ion-item-container" [class.input-error]="Form?.get('Subject')?.invalid && validateFrom ">
|
||||
<ion-input placeholder="Assunto*" [(ngModel)]="postEvent.Subject"></ion-input>
|
||||
</div>
|
||||
|
||||
@@ -371,7 +371,6 @@ export class EditEventPage implements OnInit {
|
||||
|
||||
deleteAttachment(attachmentID: string, index) {
|
||||
|
||||
|
||||
const id: any = this.loadedEventAttachments[index].Id
|
||||
|
||||
if(id == 'add') {
|
||||
@@ -380,10 +379,6 @@ export class EditEventPage implements OnInit {
|
||||
this.loadedEventAttachments[index]['remove'] = true
|
||||
}
|
||||
|
||||
this.attachmentsService.deleteEventAttachmentById(attachmentID).subscribe(res => {
|
||||
console.log(res);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
async getDoc() {
|
||||
|
||||
@@ -63,6 +63,11 @@ export class ViewEventPage implements OnInit {
|
||||
//this.getAttachments();
|
||||
}
|
||||
|
||||
doRefresh(ev){
|
||||
this.loadEvent();
|
||||
ev.target.complete();
|
||||
}
|
||||
|
||||
ngOnChanges(changes: any): void {
|
||||
this.loadedAttachments = null;
|
||||
this.loadEvent();
|
||||
|
||||
Reference in New Issue
Block a user