bug fix
parent
109772f967
commit
3994366c13
|
|
@ -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 => {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<div class="poster" *ngIf="currentImage">
|
||||
<img [src]="currentImage.links?.full" />
|
||||
</div>
|
||||
<div class="posters" *ngIf="images.length>0">
|
||||
<div class="posters" *ngIf="images.length>1">
|
||||
<div class="item" *ngFor="let image of images">
|
||||
<img [src]="image.links?.thumb" (click)="currentImage=image"/>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue