Skip to content

Commit 92f58f0

Browse files
101577: Fixed default thumbnail not working when thumbnail isn't defined
1 parent 82a8da6 commit 92f58f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/thumbnail/thumbnail.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export class ThumbnailComponent implements OnChanges {
5353
*/
5454
ngOnChanges(changes: SimpleChanges): void {
5555
if (this.thumbnail === undefined || this.thumbnail === null) {
56+
this.src = this.defaultImage;
5657
return;
5758
}
5859
if (this.thumbnail instanceof Bitstream) {

0 commit comments

Comments
 (0)