Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@

<!-- success -->
@if (!isLoading && !error) {
@if (displayQualityLabel) {
<div class="ui {{label}} ribbon label">{{displayQualityLabel}}</div>
}
@else {
<div class="ui {{label}} ribbon label">No quality estimation</div>
}
<h3 class="ui center aligned header">{{indicatorName}}</h3>
<div [innerHTML]="indicatorResultDescription" class="ui basic center aligned segment"></div>
@if (plotlyDataLayoutConfig) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,12 @@ export class IndicatorResultComponent implements OnInit {

this.indicatorResultDescription = description;

this.displayQualityLabel = this.createDisplayQualityLabel();
if (metadata.qualityDimension === 'none') {
this.displayQualityLabel = '';
}
else {
this.displayQualityLabel = this.createDisplayQualityLabel();
}
}


Expand Down