changing option name from auto to adaptive
This commit is contained in:
parent
de5a426daa
commit
946253a902
@ -104,7 +104,7 @@ function getColor(mapping, customData) {
|
|||||||
const { color } = mapping.additionalField;
|
const { color } = mapping.additionalField;
|
||||||
|
|
||||||
switch (color) {
|
switch (color) {
|
||||||
case "auto":
|
case "adaptive":
|
||||||
try {
|
try {
|
||||||
const number = parseFloat(value);
|
const number = parseFloat(value);
|
||||||
return number > 0 ? "text-emerald-300" : "text-rose-300";
|
return number > 0 ? "text-emerald-300" : "text-rose-300";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user