feat: torrent detail infinity sign for unlimited speeds (#173)

Co-authored-by: Ievgen Sobko <ievgensobko@cloud.upwork.com>
This commit is contained in:
Ievgen Sobko 2021-03-13 11:14:04 +02:00 committed by GitHub
parent dba391ee01
commit 6f9a5d5fef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,16 +184,22 @@
<td class="grey--text">
Download Limit
</td>
<td>
{{ torrent.dl_limit | getDataValue }} {{ torrent.dl_limit | getDataUnit }}<span v-if="torrent.dl_limit !== -1"> /s </span>
<td v-if="torrent.dl_limit > 0">
{{ torrent.dl_limit | getDataValue }} {{ torrent.dl_limit | getDataUnit }}<span>/s </span>
</td>
<td v-else>
</td>
</tr>
<tr>
<td class="grey--text">
Upload Limit
</td>
<td>
{{ torrent.up_limit | getDataValue }} {{ torrent.up_limit | getDataUnit }}<span v-if="torrent.up_limit !== -1"> /s </span>
<td v-if="torrent.up_limit > 0">
{{ torrent.up_limit | getDataValue }} {{ torrent.up_limit | getDataUnit }}<span>/s </span>
</td>
<td v-else>
</td>
</tr>
<tr>