diff --git a/src/app/_modules/objects/form/slider/slider-form.component.ts b/src/app/_modules/objects/form/slider/slider-form.component.ts index 18a2935..b475a70 100644 --- a/src/app/_modules/objects/form/slider/slider-form.component.ts +++ b/src/app/_modules/objects/form/slider/slider-form.component.ts @@ -132,10 +132,11 @@ export class SliderFormComponent { window.open(res.asset.data.links[res.action || 'download'], "_blank"); } else { this.listsService.refresh(this.list); - this.pagesService.root({include:'children'}).subscribe( - res => { this.pagesService.rootPages = res } + if(this.type=='page') this.pagesService.root({include:'children'}).subscribe( + res => { this.pagesService.rootPages = res }, + err => {console.log(err)}, + ()=>console.log('COMPLETE') ) - if(this.type=='page')this.menuService.setPagesTree(); this.close(); } }, error => { diff --git a/src/app/_modules/publications/list/item/gellery/gellery.component.html b/src/app/_modules/publications/list/item/gellery/gellery.component.html index 0b8bcaf..a8c3a1e 100644 --- a/src/app/_modules/publications/list/item/gellery/gellery.component.html +++ b/src/app/_modules/publications/list/item/gellery/gellery.component.html @@ -2,7 +2,7 @@
-
+