mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
85192: BUGFIX: Ensure themed browse entries are picked up
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<ul class="list-unstyled">
|
<ul class="list-unstyled">
|
||||||
<li *ngFor="let object of objects?.payload?.page" class="mt-4 mb-4">
|
<li *ngFor="let object of objects?.payload?.page" class="mt-4 mb-4">
|
||||||
<ds-listable-object-component-loader [object]="object"></ds-listable-object-component-loader>
|
<ds-listable-object-component-loader [object]="object" [viewMode]="viewMode"></ds-listable-object-component-loader>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div>
|
<div>
|
||||||
|
@@ -8,6 +8,7 @@ import { Observable } from 'rxjs';
|
|||||||
import { ListableObject } from '../object-collection/shared/listable-object.model';
|
import { ListableObject } from '../object-collection/shared/listable-object.model';
|
||||||
import { getStartsWithComponent, StartsWithType } from '../starts-with/starts-with-decorator';
|
import { getStartsWithComponent, StartsWithType } from '../starts-with/starts-with-decorator';
|
||||||
import { PaginationService } from '../../core/pagination/pagination.service';
|
import { PaginationService } from '../../core/pagination/pagination.service';
|
||||||
|
import { ViewMode } from '../../core/shared/view-mode.model';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ds-browse-by',
|
selector: 'ds-browse-by',
|
||||||
@@ -22,6 +23,12 @@ import { PaginationService } from '../../core/pagination/pagination.service';
|
|||||||
* Component to display a browse-by page for any ListableObject
|
* Component to display a browse-by page for any ListableObject
|
||||||
*/
|
*/
|
||||||
export class BrowseByComponent implements OnInit {
|
export class BrowseByComponent implements OnInit {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ViewMode that should be passed to {@link ListableObjectComponentLoaderComponent}.
|
||||||
|
*/
|
||||||
|
viewMode: ViewMode = ViewMode.ListElement;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The i18n message to display as title
|
* The i18n message to display as title
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user