This commit is contained in:
tiago.kayaya
2021-07-15 17:57:21 +01:00
9 changed files with 118 additions and 16 deletions
@@ -89,7 +89,7 @@ export class ViewEventPage implements OnInit {
})
}
loadEvent(){
loadEvent() {
this.eventsService.getEvent(this.eventId).subscribe(res => {
this.loadedEvent = res;
this.today = new Date(res.StartDate);
@@ -99,6 +99,8 @@ export class ViewEventPage implements OnInit {
this.viewEventDetailDismiss.emit({
type: 'close'
})
this.toastService.badRequest('Este evento já não existe na sua agenda')
})
;
}
@@ -39,6 +39,10 @@ export class ViewPublicationsPage implements OnInit {
ngOnInit() {
console.log(this.folderId);
if(typeof(this.folderId) == 'object') {
this.folderId = this.folderId['ProcessId']
}
this.getPublications();
this.getPublicationDetail();
@@ -47,6 +51,10 @@ export class ViewPublicationsPage implements OnInit {
ngOnChanges(changes: any): void {
console.log(this.folderId)
if(typeof(this.folderId) == 'object') {
this.folderId = this.folderId['ProcessId']
}
this.getPublications();
this.getPublicationDetail();
}