Correctly display a prediction result of 0

This commit is contained in:
Kai S. K. Engelbart 2021-03-05 13:00:21 +01:00
parent 0878ed9f10
commit a35731e6cf

View File

@ -2,7 +2,7 @@
<rb-form-input label="Prediction A" [(ngModel)]="nameA"></rb-form-input>
<rb-form-input label="Prediction B" [(ngModel)]="nameB"></rb-form-input>
<p *ngIf="delta">
<p *ngIf="delta !== undefined">
The result is {{ delta }}.
</p>
<rb-icon-button icon="forward-right" mode="primary" (click)="compare()">