mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
catch added to getattachmentsbyid call
This commit is contained in:
@@ -29,7 +29,9 @@ export class AttachmentsPage implements OnInit {
|
||||
this.attachamentsService.getAttachmentsById(eventid).subscribe(attachments => {
|
||||
this.loadedEventAttachments = attachments;
|
||||
this.pageId = eventid;
|
||||
});
|
||||
},((erro) => {
|
||||
console.error('loadtAttchament', erro)
|
||||
}));
|
||||
}
|
||||
|
||||
async viewDocument(documenturl:string)
|
||||
|
||||
Reference in New Issue
Block a user