mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Add publication to localstorage
This commit is contained in:
@@ -34,7 +34,6 @@ export class ViewPublicationsPage implements OnInit {
|
||||
private publications: PublicationsService,
|
||||
) {
|
||||
this.item = new PublicationFolder();
|
||||
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
@@ -68,6 +67,7 @@ export class ViewPublicationsPage implements OnInit {
|
||||
event.target.complete();
|
||||
}, 3000);
|
||||
}
|
||||
|
||||
close(){
|
||||
this.closeDesktopComponent.emit();
|
||||
}
|
||||
@@ -79,7 +79,7 @@ export class ViewPublicationsPage implements OnInit {
|
||||
});
|
||||
}
|
||||
|
||||
getPublications(){
|
||||
getPublications() {
|
||||
this.showLoader = true;
|
||||
|
||||
this.publications.GetPublications(this.folderId).subscribe(res=>{
|
||||
@@ -116,8 +116,8 @@ export class ViewPublicationsPage implements OnInit {
|
||||
|
||||
this.showLoader = false;
|
||||
|
||||
});
|
||||
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
async AddPublication(publicationType:any, folderId:any) {
|
||||
@@ -145,7 +145,6 @@ export class ViewPublicationsPage implements OnInit {
|
||||
|
||||
}
|
||||
|
||||
|
||||
async viewPublicationDetail(publicationId:string) {
|
||||
|
||||
console.log(publicationId);
|
||||
@@ -170,5 +169,4 @@ export class ViewPublicationsPage implements OnInit {
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user