diff --git a/frontend/components/advanced-tools/SecurityChecklist.vue b/frontend/components/advanced-tools/SecurityChecklist.vue
index a930e297..3d5dce31 100644
--- a/frontend/components/advanced-tools/SecurityChecklist.vue
+++ b/frontend/components/advanced-tools/SecurityChecklist.vue
@@ -113,10 +113,9 @@
countItems({ action: 'checked', category: item }) }}/{{ countItems({ action:
'total', category: item }) -
countItems({ action: 'ignored', category: item }) }})
-
+ v-if=" countItems({ action: 'percentage', category: item }) === 100 ">
@@ -461,7 +460,8 @@ const countItems = ({ action, category, priority }) => {
const total = items.length;
const ignored = items.filter(item => item.ignored).length;
const checked = items.filter(item => item.checked).length;
- return (total - ignored) === 0 ? '100' : ((checked / (total - ignored)) * 100).toFixed(0);
+ const denominator = total - ignored;
+ return denominator === 0 ? 100 : Math.round((checked / denominator) * 100);
},
};