Skip to content

Commit 81d06de

Browse files
committed
dashboard: fix the units: a megabyte is a million bytes
1 parent 079e356 commit 81d06de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dashboard/assets/scripts/dashboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ class JobsRenderer {
563563

564564
// Update stats
565565
info.statsElements.mb.textContent = numberWithCommas(
566-
toStringTenths((parseInt(jobData.bytes_downloaded) / (1024 * 1024)).toString()),
566+
toStringTenths((parseInt(jobData.bytes_downloaded) / (1000 * 1000)).toString()),
567567
);
568568
info.statsElements.responses.textContent = `${numberWithCommas(totalResponses)} resp.`;
569569
info.statsElements.responses.title = getSummaryResponses(jobData);

0 commit comments

Comments
 (0)