Skip to content

Commit

Permalink
Adding CONTINUOUS to backwards compatibility code
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaHegde committed Dec 19, 2023
1 parent f1b4047 commit 1ebfb43
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

0 comments on commit 1ebfb43

Please sign in to comment.