diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index 74dddba2d..cc9518cec 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -203,7 +203,7 @@ this.totalViolations = common.valueWithDefault(metric.policyViolationsTotal, "0"); this.auditedViolations = common.valueWithDefault(metric.policyViolationsAudited, "0"); - this.auditedViolationsPercent = common.calcProgressPercent(this.policyViolationsTotal, this.policyViolationsAudited); + this.auditedViolationsPercent = common.calcProgressPercent(this.totalViolations, this.auditedViolations); this.vulnerabilities = common.valueWithDefault(metric.vulnerabilities, "0"); this.suppressed = common.valueWithDefault(metric.suppressed, "0");