Skip to content

Commit

Permalink
fix(createDashboard): fix alert display type naming convention
Browse files Browse the repository at this point in the history
The alert display type is CamelCase, not snake_case. This caused the warning
marker to not have the correct display type.
  • Loading branch information
ardelato committed Feb 14, 2024
1 parent ba54cde commit b03cde2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/createDashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
] : []
}
Expand Down

0 comments on commit b03cde2

Please sign in to comment.