Skip to content

Commit

Permalink
feat: torrent detail infinity sign for unlimited speeds (#173)
Browse files Browse the repository at this point in the history
Co-authored-by: Ievgen Sobko <ievgensobko@cloud.upwork.com>
  • Loading branch information
IevgenSobko and Ievgen Sobko committed Mar 13, 2021
1 parent dba391e commit 6f9a5d5
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/components/Modals/TorrentDetailModal/Tabs/Info.vue
Expand Up @@ -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>
Expand Down

0 comments on commit 6f9a5d5

Please sign in to comment.