Skip to content
Snippets Groups Projects
Commit 1ee037e0 authored by Giuseppe's avatar Giuseppe
Browse files

Added check for thumbnail content

parent d2e52274
No related branches found
No related tags found
No related merge requests found
<div class="thumbnail">
<img *ngIf="thumbnail" [src]="thumbnail.content" (error)="errorHandler($event)"/>
<img *ngIf="!thumbnail" [src]="holderSource | dsSafeUrl"/>
<img *ngIf="thumbnail && thumbnail.content" [src]="thumbnail.content" (error)="errorHandler($event)"/>
<img *ngIf="!thumbnail || !thumbnail.content" [src]="holderSource | dsSafeUrl"/>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment