File tree 1 file changed +6
-6
lines changed
static/app/views/monitors/components/overviewTimeline
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ const CLAMPED_MINUTE_RANGES = [
41
41
] ;
42
42
43
43
/**
44
- * Compute the TimeWindowConfig given the timeline date bounadies and the width
44
+ * Compute the TimeWindowConfig given the timeline date boundaries and the width
45
45
* of the timeline.
46
46
*/
47
47
export function getConfigFromTimeRange (
@@ -54,20 +54,20 @@ export function getConfigFromTimeRange(
54
54
// Display only the time (no date) when the window is less than 24 hours
55
55
const timeOnly = elapsedMinutes <= ONE_HOUR * 24 ;
56
56
57
- const minimuWidth = timeOnly ? TIMELABEL_WIDTH_TIME : TIMELABEL_WIDTH_DATE ;
57
+ const minimumWidth = timeOnly ? TIMELABEL_WIDTH_TIME : TIMELABEL_WIDTH_DATE ;
58
58
59
- // When one pixel represent less than at least one minute we also want to
59
+ // When one pixel represents less than at least one minute we also want to
60
60
// display second values on our labels.
61
61
const displaySeconds = elapsedMinutes < timelineWidth ;
62
62
63
63
// Compute the smallest minute value that we are willing to space our ticks
64
- // apart by. This will be at least minimuWidth .
64
+ // apart by. This will be at least minimumWidth .
65
65
66
66
// Calculate the minutes per pixel of the timeline
67
67
const minutesPerPixel = elapsedMinutes / timelineWidth ;
68
68
69
- // Calculate minutes at the minimuWidth
70
- const minTickMinutesApart = minutesPerPixel * minimuWidth ;
69
+ // Calculate minutes at the minimumWidth
70
+ const minTickMinutesApart = minutesPerPixel * minimumWidth ;
71
71
72
72
const baseConfig = {
73
73
start,
You can’t perform that action at this time.
0 commit comments