Skip to content

Commit

Permalink
Merge branch 'main' into sched-recurr-tz
Browse files Browse the repository at this point in the history
  • Loading branch information
timopollmeier authored Aug 11, 2023
2 parents 10bf62b + c6ddd97 commit 14d3ade
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/web/components/dashboard/display/cvss/cvsstransform.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,12 @@ const transformCvssData = (data = {}) => {
let toolTip;
let filterValue;

if (value > 0) {
if (value === 10) {
filterValue = {
start: value,
};
toolTip = `10.0 (${label}): ${perc}% (${count})`;
} else if (value > 0) {
filterValue = {
start: format(value - 0.1),
end: format(value + 1),
Expand Down

0 comments on commit 14d3ade

Please sign in to comment.