mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
101577: Fixed default thumbnail not working when thumbnail isn't defined
This commit is contained in:
@@ -53,6 +53,7 @@ export class ThumbnailComponent implements OnChanges {
|
||||
*/
|
||||
ngOnChanges(changes: SimpleChanges): void {
|
||||
if (this.thumbnail === undefined || this.thumbnail === null) {
|
||||
this.src = this.defaultImage;
|
||||
return;
|
||||
}
|
||||
if (this.thumbnail instanceof Bitstream) {
|
||||
|
Reference in New Issue
Block a user