apply security patch: release-11.2.9/381-202504030850.patch

commit e3101f6fc4023c52e0ff39b5b0b7f69d4373d589
Author: nmarrs <nathanielmarrs@gmail.com>
Date:   Thu Apr 3 09:44:49 2025 +0100

    apply backport
This commit is contained in:
github-actions[bot]
2025-04-18 21:48:19 +00:00
parent 598d61e948
commit f8ae632c42
@@ -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';