mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-05 23:29:58 +01:00
Merge pull request #1541 from InterN0te/dev-fixTorrentSpeed-Mb-MB
Fix Mb/s / MB/s conversion error in torrents speed
This commit is contained in:
@@ -81,14 +81,14 @@ export const BitTorrentQueueItem = ({ torrent, width, app }: TorrentQueueItemPro
|
||||
{width > MIN_WIDTH_MOBILE && (
|
||||
<td>
|
||||
<Text className={classes.noTextBreak} size="xs">
|
||||
{downloadSpeed > 0 ? `${downloadSpeed.toFixed(1)} Mb/s` : '-'}
|
||||
{downloadSpeed > 0 ? `${downloadSpeed.toFixed(1)} MB/s` : '-'}
|
||||
</Text>
|
||||
</td>
|
||||
)}
|
||||
{width > MIN_WIDTH_MOBILE && (
|
||||
<td>
|
||||
<Text className={classes.noTextBreak} size="xs">
|
||||
{uploadSpeed > 0 ? `${uploadSpeed.toFixed(1)} Mb/s` : '-'}
|
||||
{uploadSpeed > 0 ? `${uploadSpeed.toFixed(1)} MB/s` : '-'}
|
||||
</Text>
|
||||
</td>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user