mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
Improve
This commit is contained in:
@@ -28,7 +28,7 @@ export class ViewPublicationsPage implements OnInit {
|
||||
private activatedRoute: ActivatedRoute,
|
||||
private router: Router,
|
||||
)
|
||||
{
|
||||
{
|
||||
this.item = new PublicationFolder();
|
||||
this.activatedRoute.paramMap.subscribe(params => {
|
||||
console.log(params);
|
||||
@@ -46,6 +46,7 @@ export class ViewPublicationsPage implements OnInit {
|
||||
this.getPublications();
|
||||
this.getPublicationDetail();
|
||||
}
|
||||
|
||||
doRefresh(event) {
|
||||
this.getPublications();
|
||||
|
||||
@@ -55,18 +56,22 @@ export class ViewPublicationsPage implements OnInit {
|
||||
event.target.complete();
|
||||
}, 3000);
|
||||
}
|
||||
close(){
|
||||
|
||||
close() {
|
||||
this.modalController.dismiss();
|
||||
}
|
||||
goBack(){
|
||||
|
||||
goBack() {
|
||||
this.router.navigate(['/home/publications']);
|
||||
}
|
||||
|
||||
getPublicationDetail(){
|
||||
this.publications.GetPublicationFolderById(this.folderId).subscribe(res=>{
|
||||
console.log(res);
|
||||
this.item = res;
|
||||
});
|
||||
}
|
||||
|
||||
getPublications(){
|
||||
this.showLoader = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user