Prevent time data from receiving threshold colors
parent
3e10f6c6d5
commit
fe8860380b
|
@ -254,7 +254,6 @@ class TableGraph extends Component {
|
||||||
const timeFieldIndex = fieldNames.findIndex(
|
const timeFieldIndex = fieldNames.findIndex(
|
||||||
field => field.internalName === TIME_FIELD_DEFAULT.internalName
|
field => field.internalName === TIME_FIELD_DEFAULT.internalName
|
||||||
)
|
)
|
||||||
console.log('timeFieldIndex', timeFieldIndex)
|
|
||||||
const timeField = fieldNames.find(
|
const timeField = fieldNames.find(
|
||||||
field => field.internalName === TIME_FIELD_DEFAULT.internalName
|
field => field.internalName === TIME_FIELD_DEFAULT.internalName
|
||||||
)
|
)
|
||||||
|
@ -279,7 +278,7 @@ class TableGraph extends Component {
|
||||||
|
|
||||||
let cellStyle = style
|
let cellStyle = style
|
||||||
|
|
||||||
if (!isFixedRow && !isFixedColumn && !isFixedCorner) {
|
if (!isFixedRow && !isFixedColumn && !isFixedCorner && !isTimeData) {
|
||||||
const {bgColor, textColor} = generateThresholdsListHexs({
|
const {bgColor, textColor} = generateThresholdsListHexs({
|
||||||
colors,
|
colors,
|
||||||
lastValue: cellData,
|
lastValue: cellData,
|
||||||
|
|
Loading…
Reference in New Issue