mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 19:43:04 +00:00
refactored items, bundles and bitstreams, test builders
This commit is contained in:
@@ -30,8 +30,8 @@ export class GridThumbnailComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
if (hasValue(this.thumbnail) && this.thumbnail.content) {
|
||||
this.src = this.thumbnail.content;
|
||||
if (hasValue(this.thumbnail) && this.thumbnail._links.content.href) {
|
||||
this.src = this.thumbnail._links.content.href;
|
||||
} else {
|
||||
this.src = this.defaultImage
|
||||
}
|
||||
|
Reference in New Issue
Block a user