|
@@ -192,7 +192,9 @@ const test = (key, item) => {
|
|
|
}
|
|
|
|
|
|
if ( fieldMapping[key] ) {
|
|
|
- color = fieldMapping[key] && 'red'
|
|
|
+ console.log(item, fieldMapping[key]);
|
|
|
+ console.log( "item[fieldMapping[key]]", item[fieldMapping[key]] );
|
|
|
+ color = item[fieldMapping[key]] && 'red'
|
|
|
//const n = item[key + 'Number'];
|
|
|
// if ( (n || n == 0) && Math.abs( n ) > 0.1 ) {
|
|
|
// color = 'red'
|