diff --git a/src/widgets/customapi/component.jsx b/src/widgets/customapi/component.jsx index 71c5d8884..62405faf2 100644 --- a/src/widgets/customapi/component.jsx +++ b/src/widgets/customapi/component.jsx @@ -104,7 +104,7 @@ function getColor(mapping, customData) { const { color } = mapping.additionalField; switch (color) { - case "auto": + case "adaptive": try { const number = parseFloat(value); return number > 0 ? "text-emerald-300" : "text-rose-300";