Fix search result details
This commit is contained in:
parent
49d207473b
commit
d82ce649eb
@ -14,7 +14,7 @@
|
||||
<tr *ngFor="let score of result.scores" [ngClass]="{'undefined': score.value == undefined}">
|
||||
<td>
|
||||
<div class="cell space">
|
||||
<mat-icon>{{PROPERTY_VIS_DEF[score.type].icon}}</mat-icon>
|
||||
<mat-icon>{{PROPERTY_VIS_DEF[score.type] ? PROPERTY_VIS_DEF[score.type].icon : 'bar_chart'}}</mat-icon>
|
||||
<span>{{score.type|translate}}:</span>
|
||||
</div>
|
||||
</td>
|
||||
@ -25,7 +25,12 @@
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell">
|
||||
<span>{{PROPERTY_VIS_DEF[score.type].unit}}</span>
|
||||
<span>{{PROPERTY_VIS_DEF[score.type] ? PROPERTY_VIS_DEF[score.type].unit : ''}}</span>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell">
|
||||
<span>({{score.score}})</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user