This commit is contained in:
Peter Maquiran
2021-07-15 17:42:12 +01:00
parent 7f0d7caade
commit b691cb1a07
2 changed files with 15 additions and 0 deletions
@@ -51,6 +51,17 @@ export class ViewPublicationsPage implements OnInit {
this.getPublicationDetail(); this.getPublicationDetail();
} }
ngOnChanges() {
console.log(this.folderId)
if(typeof(this.folderId) == 'object') {
this.folderId = this.folderId['ProcessId']
}
this.getPublications();
this.getPublicationDetail();
}
doRefresh(event) { doRefresh(event) {
this.getPublications(); this.getPublications();
@@ -51,6 +51,10 @@ export class ViewPublicationsPage implements OnInit {
ngOnChanges(changes: any): void { ngOnChanges(changes: any): void {
console.log(this.folderId) console.log(this.folderId)
if(typeof(this.folderId) == 'object') {
this.folderId = this.folderId['ProcessId']
}
this.getPublications(); this.getPublications();
this.getPublicationDetail(); this.getPublicationDetail();
} }