Fixing sizes.

This commit is contained in:
Dessalines 2019-08-21 15:12:04 -07:00
parent 61c93ec260
commit 4c2d438507
1 changed files with 17 additions and 17 deletions

View File

@ -1,5 +1,5 @@
import { Component, linkEvent } from 'inferno'; import { Component, linkEvent } from 'inferno';
import * as moment from 'moment'; import moment from 'moment';
import { endpoint } from '../env'; import { endpoint } from '../env';
import { SearchParams, Results, Torrent } from '../interfaces'; import { SearchParams, Results, Torrent } from '../interfaces';
@ -138,7 +138,7 @@ export class Search extends Component<any, State> {
</a> </a>
</td> </td>
)} )}
<td class="text-right text-muted">{humanFileSize(torrent.size_bytes, true)}</td> <td class="text-right text-muted">{humanFileSize(torrent.size_bytes, false)}</td>
<td class="text-right text-success"> <td class="text-right text-success">
<svg class="icon icon-arrow-up d-none d-sm-inline mr-1"><use xlinkHref="#icon-arrow-up"></use></svg> <svg class="icon icon-arrow-up d-none d-sm-inline mr-1"><use xlinkHref="#icon-arrow-up"></use></svg>
<span>{torrent.seeders}</span> <span>{torrent.seeders}</span>