Prevent time data from receiving threshold colors

pull/10616/head
ebb-tide 2018-04-07 16:09:32 -07:00
parent 3e10f6c6d5
commit fe8860380b
1 changed files with 1 additions and 2 deletions

View File

@ -254,7 +254,6 @@ class TableGraph extends Component {
const timeFieldIndex = fieldNames.findIndex(
field => field.internalName === TIME_FIELD_DEFAULT.internalName
)
console.log('timeFieldIndex', timeFieldIndex)
const timeField = fieldNames.find(
field => field.internalName === TIME_FIELD_DEFAULT.internalName
)
@ -279,7 +278,7 @@ class TableGraph extends Component {
let cellStyle = style
if (!isFixedRow && !isFixedColumn && !isFixedCorner) {
if (!isFixedRow && !isFixedColumn && !isFixedCorner && !isTimeData) {
const {bgColor, textColor} = generateThresholdsListHexs({
colors,
lastValue: cellData,