From 946253a902dfca4f51e09b5c7e0e5a4e53a0967b Mon Sep 17 00:00:00 2001 From: sgrtye Date: Wed, 14 Feb 2024 20:15:02 +0000 Subject: [PATCH] changing option name from auto to adaptive --- src/widgets/customapi/component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";