apply security patch: release-11.6.1/380-202504030832.patch

commit cbcd7edd6d2b2cf29b42c96a56f669e0d8e5209f
Author: nmarrs <nathanielmarrs@gmail.com>
Date:   Thu Apr 3 09:28:43 2025 +0100

    backport change
release-11.6.1+security-01
github-actions[bot] 2 months ago
parent e471a96595
commit a29981b6b7
  1. 3
      public/app/plugins/panel/xychart/scatter.ts

@ -641,7 +641,8 @@ function fieldValueColors(f: Field, theme: GrafanaTheme2): FieldColorValues {
let lasti = steps.length - 1;
for (let i = lasti; i > 0; i--) {
conds += `v >= ${steps[i].value} ? ${i} : `;
let rhs = Number(steps[i].value);
conds += `v >= ${rhs} ? ${i} : `;
}
conds += '0';

Loading…
Cancel
Save