Tyler Tolley %!s(int64=8) %!d(string=hai) anos
pai
achega
ca3c1d8c63
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      public/app/plugins/panel/heatmap/heatmap_tooltip.ts

+ 3 - 3
public/app/plugins/panel/heatmap/heatmap_tooltip.ts

@@ -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;
   }