From b03cde20ebff5609d46b07ac5eb80be0107c616f Mon Sep 17 00:00:00 2001 From: Angel de la Torre Date: Wed, 14 Feb 2024 14:19:53 -0800 Subject: [PATCH] fix(createDashboard): fix alert display type naming convention The alert display type is CamelCase, not snake_case. This caused the warning marker to not have the correct display type. --- src/scripts/createDashboard.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/createDashboard.ts b/src/scripts/createDashboard.ts index e2f237f..bc09cac 100644 --- a/src/scripts/createDashboard.ts +++ b/src/scripts/createDashboard.ts @@ -139,12 +139,12 @@ function fetchTimeseriesAlertMarkersForAudit(auditName: string) { { "label": "Alert", "value": ALERT_MARKERS_TIMESERIES[auditName].alert, - "display_type": "error dashed" + "displayType": "error dashed" }, { "label": "Warning", "value": ALERT_MARKERS_TIMESERIES[auditName].warning, - "display_type": "warning dashed" + "displayType": "warning dashed" } ] : [] }