Chore: don't show 0.000 in speed results
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone Build was killed

This commit is contained in:
Dorian Zedler 2023-07-15 10:15:15 +02:00
parent 5694d61c4b
commit bf617ba72c
Signed by: dorian
GPG key ID: 989DE36109AFA354

View file

@ -70,7 +70,7 @@ Row {
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
font.bold: thisData["result_l"] !== undefined && thisData["result_r"] !== undefined && thisData[thisKey] === thisData["result"] font.bold: thisData["result_l"] !== undefined && thisData["result_r"] !== undefined && thisData[thisKey] === thisData["result"]
text: control.thisData[thisKey] ?? "" text: (control.thisData[thisKey] !== undefined && parseInt(control.thisData[thisKey]) > 0) ? control.thisData[thisKey] : ""
} }
} }