apply security patch: release-11.4.4/383-202504030856.patch
commit 1ecd756fbd93aa52b8c8328e81d1f5a1bbb5005d Author: nmarrs <nathanielmarrs@gmail.com> Date: Thu Apr 3 09:54:43 2025 +0100 apply backport
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user