Commit d74aba3c authored by Enrique Alcántara's avatar Enrique Alcántara

Merge branch '328254-fix-zero-severity-count' into 'master'

Fix zero count of vulnerability severity count

See merge request gitlab-org/gitlab!59680
parents 418f8fe5 394998df
...@@ -51,7 +51,7 @@ export default { ...@@ -51,7 +51,7 @@ export default {
}; };
}, },
update(data) { update(data) {
return data[this.scope]?.vulnerabilitySeveritiesCount || {}; return data[this.dashboardType]?.vulnerabilitySeveritiesCount || {};
}, },
result() { result() {
this.queryError = false; this.queryError = false;
......
---
title: Fix zero count of vulnerability severity count
merge_request: 59680
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment