We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 98a5076 + 92f58f0 commit 0894ba0Copy full SHA for 0894ba0
1 file changed
src/app/thumbnail/thumbnail.component.ts
@@ -72,6 +72,7 @@ export class ThumbnailComponent implements OnChanges {
72
*/
73
ngOnChanges(changes: SimpleChanges): void {
74
if (hasNoValue(this.thumbnail)) {
75
+ this.setSrc(this.defaultImage);
76
return;
77
}
78
0 commit comments