mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
Several fixes after merge with main
This commit is contained in:
@@ -25,6 +25,7 @@ export class CollectionGridElementComponent extends AbstractListableElementCompo
|
||||
super();
|
||||
}
|
||||
|
||||
// @ts-ignore
|
||||
@Input() set object(object: Collection) {
|
||||
this._object = object;
|
||||
if (hasValue(this._object) && hasNoValue(this._object.logo)) {
|
||||
|
@@ -24,10 +24,11 @@ export class CommunityGridElementComponent extends AbstractListableElementCompon
|
||||
super();
|
||||
}
|
||||
|
||||
// @ts-ignore
|
||||
@Input() set object(object: Community) {
|
||||
this._object = object;
|
||||
if (hasValue(this._object) && hasNoValue(this._object.logo)) {
|
||||
this.linkService.resolveLink<Community>(this._object, followLink('logo'))
|
||||
this.linkService.resolveLink<Community>(this._object, followLink('logo'));
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -30,6 +30,7 @@ export class CollectionSearchResultGridElementComponent extends SearchResultGrid
|
||||
super(truncatableService, bitstreamDataService);
|
||||
}
|
||||
|
||||
// @ts-ignore
|
||||
@Input() set dso(dso: Collection) {
|
||||
this._dso = dso;
|
||||
if (hasValue(this._dso) && hasNoValue(this._dso.logo)) {
|
||||
|
@@ -33,6 +33,7 @@ export class CommunitySearchResultGridElementComponent extends SearchResultGridE
|
||||
super(truncatableService, bitstreamDataService);
|
||||
}
|
||||
|
||||
// @ts-ignore
|
||||
@Input() set dso(dso: Community) {
|
||||
this._dso = dso;
|
||||
if (hasValue(this._dso) && hasNoValue(this._dso.logo)) {
|
||||
|
@@ -15,7 +15,6 @@ import { getFirstSucceededRemoteDataPayload } from '../../../core/shared/operato
|
||||
selector: 'ds-search-result-grid-element',
|
||||
template: ``
|
||||
})
|
||||
|
||||
export class SearchResultGridElementComponent<T extends SearchResult<K>, K extends DSpaceObject> extends AbstractListableElementComponent<T> implements OnInit {
|
||||
/**
|
||||
* The DSpaceObject of the search result
|
||||
|
Reference in New Issue
Block a user