profiler: drop percentage from scan progress line
Show only 'N / total files — path' during 'Profile from card'; the percentage was redundant. Help docs updated. SW cache v55 -> v56.
This commit is contained in:
+1
-2
@@ -7136,8 +7136,7 @@ async function profilerScanStart() {
|
||||
btn.textContent = t('Scanning...');
|
||||
try {
|
||||
const rules = await profilerScanCard(ignoreFids, ignoreNames, fciMode, (done, total, path) => {
|
||||
const pct = total ? Math.round(done / total * 100) : 0;
|
||||
progEl.textContent = done + ' / ' + total + ' ' + t('files') + ' (' + pct + '%)' + (path ? ' — ' + path : '');
|
||||
progEl.textContent = done + ' / ' + total + ' ' + t('files') + (path ? ' — ' + path : '');
|
||||
});
|
||||
const profile = { id: profilerNewId(), name: name, created: new Date().toISOString(), rules: rules };
|
||||
profiles.push(profile);
|
||||
|
||||
Reference in New Issue
Block a user