Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Commit

Permalink
fix(summary): Do not show undefined icons (#420)
Browse files Browse the repository at this point in the history
Fixes #419
  • Loading branch information
gastaldi authored and edewit committed Oct 19, 2018
1 parent 5106bcf commit 072abc8
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,9 @@ <h2 class="card-pf-title">
<div>
<b>{{data?.runtime?.name}} {{data?.runtime?.version?.name}}</b>
</div>
<div class="pull-right">
<div class="pull-right" *ngIf="data?.runtime?.icon">
<img class="card-column_runtime-icon"
[src]="_DomSanitizer.bypassSecurityTrustUrl(data?.runtime?.icon)"
*ngIf="data?.runtime?.icon !== null">
[src]="_DomSanitizer.bypassSecurityTrustUrl(data?.runtime?.icon)">
</div>
<p>{{data?.runtime?.description}}</p>
</div>
Expand Down

0 comments on commit 072abc8

Please sign in to comment.