Filter out "kept" from the discarded reasons list
This commit is contained in:
parent
7b8099f59d
commit
6197a1ce75
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@
|
|||
// Filter to only show non-zero counts, exclude the 'total' field
|
||||
let skipReasons = $derived(
|
||||
Object.entries(displaySkipStats)
|
||||
.filter(([key, count]) => key !== 'total' && typeof count === 'number' && count > 0)
|
||||
.filter(([key, count]) => key !== 'total' && key !== 'kept' && typeof count === 'number' && count > 0)
|
||||
.map(([key, count]) => ({ label: formatLabel(key), count }))
|
||||
.sort((a, b) => b.count - a.count) // Sort by count descending
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue