Hide speed when it is 0 to avoid displaying misleading 0 speed
Some checks failed
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:
2026-05-20 00:49:26 +01:00
parent d11f11be69
commit 8c461de72a

View File

@@ -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);
} }