mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
formatting issues fixed
This commit is contained in:
@@ -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)
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user