mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
Improve
This commit is contained in:
@@ -51,6 +51,17 @@ export class ViewPublicationsPage implements OnInit {
|
||||
this.getPublicationDetail();
|
||||
}
|
||||
|
||||
ngOnChanges() {
|
||||
console.log(this.folderId)
|
||||
|
||||
if(typeof(this.folderId) == 'object') {
|
||||
this.folderId = this.folderId['ProcessId']
|
||||
}
|
||||
|
||||
this.getPublications();
|
||||
this.getPublicationDetail();
|
||||
}
|
||||
|
||||
doRefresh(event) {
|
||||
this.getPublications();
|
||||
|
||||
|
||||
@@ -51,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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user