Hide speed when it is 0 to avoid displaying misleading 0 speed
Build and Push Docker Image / build (push) Successful in 38s
Licence Check / Licence compatibility and copyright header verification (push) Successful in 44s
CI / Security audit (push) Successful in 1m7s
CI / Tests & coverage (push) Has been cancelled
Build and Push Docker Image / build (push) Successful in 38s
Licence Check / Licence compatibility and copyright header verification (push) Successful in 44s
CI / Security audit (push) Successful in 1m7s
CI / Tests & coverage (push) Has been cancelled
This commit is contained in:
+1
-1
@@ -878,7 +878,7 @@ function createDownloadCard(download) {
|
|||||||
details.appendChild(progressItem);
|
details.appendChild(progressItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (download.speed !== undefined && download.speed !== null) {
|
if (download.speed && download.speed > 0) {
|
||||||
const speed = createDetailItem('Speed', download.speed);
|
const speed = createDetailItem('Speed', download.speed);
|
||||||
details.appendChild(speed);
|
details.appendChild(speed);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user