mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 14:03:06 +00:00
fix lint error
This commit is contained in:
@@ -30,8 +30,7 @@ export class ThumbnailComponent implements OnInit {
|
|||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
if (hasValue(this.thumbnail) && this.thumbnail.content) {
|
if (hasValue(this.thumbnail) && this.thumbnail.content) {
|
||||||
this.src = this.thumbnail.content;
|
this.src = this.thumbnail.content;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
this.src = this.defaultImage
|
this.src = this.defaultImage
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user