Merge pull request #906 from Stremio/fix/player-statistics-show-max-100-percent

fix: StatisticsMenu - max of 100% for completed
This commit is contained in:
Timothy Z. 2025-05-14 11:30:34 +03:00 committed by GitHub
commit 1ae009c0bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,7 +33,7 @@ const StatisticsMenu = ({ className, peers, speed, completed, infoHash }) => {
Completed
</div>
<div className={styles['value']}>
{ completed } %
{ Math.min(completed, 100) } %
</div>
</div>
</div>