diff --git a/qbittorrent_performer_sorter.html b/qbittorrent_performer_sorter.html
index f856a4b..7c5124b 100644
--- a/qbittorrent_performer_sorter.html
+++ b/qbittorrent_performer_sorter.html
@@ -1210,11 +1210,12 @@
- |
+ |
📡
No torrents loaded yet
@@ -3037,7 +3038,7 @@ Return ONLY valid JSON matching:
if (filtered.length === 0) {
torrentTbody.innerHTML = `
- |
+ |
🔍
No matching torrents found
@@ -3108,6 +3109,11 @@ Return ONLY valid JSON matching:
`;
}
+ const progressVal = typeof t.progress === 'number' ? t.progress : 0;
+ const isComplete = progressVal >= 0.9999;
+ const pctDisplay = isComplete ? '100%' : `${(progressVal * 100).toFixed(1)}%`;
+ const pctBarWidth = Math.min(100, Math.max(0, isComplete ? 100 : progressVal * 100));
+
return `
|
@@ -3146,6 +3152,16 @@ Return ONLY valid JSON matching:
` : ''}
|
+
+
+ |
`;
}
| |