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

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

    backport change
pull/104467/head
github-actions[bot] 2 months ago
parent 5e30a9ec08
commit c1ddd2962b
  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