Improve null data visuals

This commit is contained in:
Patrick Gebhardt 2020-06-21 15:28:53 +02:00
parent e17bbbfe3f
commit a2a9a3a373
2 changed files with 5 additions and 2 deletions

View File

@ -11,7 +11,7 @@
</div>
<div class="result-details">
<table>
<tr *ngFor="let score of result.scores">
<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>
@ -20,7 +20,7 @@
</td>
<td>
<div class="cell right">
<span>{{score.value ? (score.value|number:'1.2-2') : 'N/A'}}</span>
<span>{{score.value != undefined ? (score.value|number:'1.2-2') : 'N/A'}}</span>
</div>
</td>
<td>

View File

@ -39,6 +39,9 @@
}
> .result-details {
.undefined {
color: #8f8f8f;
}
}
}