mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Improve
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user