formatting issues fixed

This commit is contained in:
cris
2023-01-28 17:58:51 +00:00
parent 8eab0f743f
commit 328b16c1e4

View File

@@ -39,13 +39,13 @@ export class ThemedItemListPreviewComponent extends ThemedComponent<ItemListPrev
protected cdr: ChangeDetectorRef, protected cdr: ChangeDetectorRef,
protected themeService: ThemeService, protected themeService: ThemeService,
protected collectionDataService: CollectionDataService protected collectionDataService: CollectionDataService
){ ) {
super(resolver, cdr, themeService) super(resolver, cdr, themeService);
} }
ngOnInit() { ngOnInit() {
super.ngOnInit() super.ngOnInit();
this.getCollectionName() this.getCollectionName();
} }
protected getCollectionName(): void { protected getCollectionName(): void {
@@ -62,7 +62,6 @@ export class ThemedItemListPreviewComponent extends ThemedComponent<ItemListPrev
this.collectionDataService.findByHref(`${environment.rest.baseUrl}/api/core/collections/${collectionId}`).subscribe(collection => { this.collectionDataService.findByHref(`${environment.rest.baseUrl}/api/core/collections/${collectionId}`).subscribe(collection => {
this.collection = collection?.payload; this.collection = collection?.payload;
console.log("collection", this.collection)
}); });
} }
@@ -77,4 +76,4 @@ export class ThemedItemListPreviewComponent extends ThemedComponent<ItemListPrev
protected importUnthemedComponent(): Promise<any> { protected importUnthemedComponent(): Promise<any> {
return import('./item-list-preview.component'); return import('./item-list-preview.component');
} }
} }