#10724 Fix whitespace

This commit is contained in:
Tyler Tolley 2018-02-02 09:31:05 -07:00
parent bde5499552
commit ca3c1d8c63

View File

@ -157,11 +157,11 @@ export class HeatmapTooltip {
return x-bucket.x <= data.xBucketSize && x-bucket.x >0;
});
let xBucketIndex;
if(!xBucket)
if (!xBucket) {
xBucketIndex = getValueBucketBound(x, data.xBucketSize, 1);
else
} else {
xBucketIndex = xBucket.x;
}
return xBucketIndex;
}