diff --git a/src/widgets/torrent/TorrentTile.tsx b/src/widgets/torrent/TorrentTile.tsx index 93c7ad673..83f4b8a4b 100644 --- a/src/widgets/torrent/TorrentTile.tsx +++ b/src/widgets/torrent/TorrentTile.tsx @@ -191,7 +191,14 @@ function TorrentTile({ widget }: TorrentTileProps) { )} - {t('card.footer.lastUpdated', { time: humanizedDuration })} - {t('card.footer.ratioGlobal')} : {ratioGlobal === -1 ? "∞" : ratioGlobal.toFixed(2)} {widget.properties.displayRatioWithFilter && ` - ${t('card.footer.ratioWithFilter')} : ${ratioWithFilter === -1 ? "∞" : ratioWithFilter.toFixed(2)}`} + {t('card.footer.lastUpdated', { time: humanizedDuration })} + {` - ${t('card.footer.ratioGlobal')} : ${ + ratioGlobal === -1 ? '∞' : ratioGlobal.toFixed(2) + }`} + {widget.properties.displayRatioWithFilter && + ` - ${t('card.footer.ratioWithFilter')} : ${ + ratioWithFilter === -1 ? '∞' : ratioWithFilter.toFixed(2) + }`}