Skip to content

Commit

Permalink
Adding CONTINUOUS to backwards compatibility code (#3719)
Browse files Browse the repository at this point in the history
(cherry picked from commit 75757c1)
  • Loading branch information
AdityaHegde authored and esevastyanov committed Dec 19, 2023
1 parent 6642f57 commit 65556bb
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 @@ -199,6 +199,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 65556bb

Please sign in to comment.