Skip to content

Commit

Permalink
Adding CONTINUOUS to backwards compatibility code (#3719)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaHegde authored Dec 19, 2023
1 parent f1b4047 commit 75757c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web-common/src/features/dashboards/proto-state/fromProto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ function correctComparisonTimeRange(
comparisonTimeRange: DashboardTimeControls
) {
switch (comparisonTimeRange.name as string) {
case "CONTIGUOUS":
comparisonTimeRange.name = TimeComparisonOption.CONTIGUOUS;
break;
case "P1D":
comparisonTimeRange.name = TimeComparisonOption.DAY;
break;
Expand Down

1 comment on commit 75757c1

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.