mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 15:33:04 +00:00
74572: Separate components for untyped items
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<ng-container *ngIf="status">
|
||||
<ds-mydspace-item-status [status]="status"></ds-mydspace-item-status>
|
||||
</ng-container>
|
||||
<ds-item-type-badge [object]="item"></ds-item-type-badge>
|
||||
<ds-type-badge [object]="item"></ds-type-badge>
|
||||
<ds-truncatable [id]="item.id">
|
||||
<h3 [innerHTML]="item.firstMetadataValue('dc.title') || ('mydspace.results.no-title' | translate)" [ngClass]="{'lead': true,'text-muted': !item.firstMetadataValue('dc.title')}"></h3>
|
||||
<div>
|
||||
|
@@ -153,7 +153,7 @@ describe('ItemListPreviewComponent', () => {
|
||||
});
|
||||
|
||||
it('should show the entity type span', () => {
|
||||
const entityField = fixture.debugElement.query(By.css('ds-item-type-badge'));
|
||||
const entityField = fixture.debugElement.query(By.css('ds-type-badge'));
|
||||
expect(entityField).not.toBeNull();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user