fix: progress and relavance numbers in DetailedPeers screen (#1034)

Co-authored-by: Dinesh Reddy J <dinesh.reddy.ext@juspay.in>
This commit is contained in:
Jagadam Dinesh Reddy 2023-08-09 20:19:23 +05:30 committed by GitHub
parent b68c4870ef
commit 4cd7772502
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,12 +23,12 @@
{{ item.flags }}
</td>
<td>{{ item.client }}</td>
<td>{{ item.progress | progress }}</td>
<td>{{ (item.progress * 100) | progress }}</td>
<td>{{ item.dl_speed | formatSpeed(shouldUseBitSpeed()) }}</td>
<td>{{ item.downloaded | formatData(shouldUseBinaryData()) }}</td>
<td>{{ item.up_speed | formatSpeed(shouldUseBitSpeed()) }}</td>
<td>{{ item.uploaded | formatData(shouldUseBinaryData()) }}</td>
<td>{{ item.relevance | progress }}</td>
<td>{{ (item.relevance * 100) | progress }}</td>
<td>{{ item.files }}</td>
</tr>
</tbody>