fix(ui): value zero has no background color
pull/15971/head
Zoe Steinkamp 2019-11-22 17:22:44 -07:00 committed by GitHub
commit 38454a41d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ export const generateThresholdsListHexs = ({
hex: defaultColoring.textColor,
}
if (!lastValue) {
if (!lastValue && lastValue !== 0) {
return {...defaultColoring, textColor: baseColor.hex}
}