From 1ebfb437743454c2d252fdadb92c94306a7f7a92 Mon Sep 17 00:00:00 2001 From: Aditya Hegde Date: Tue, 19 Dec 2023 12:56:03 +0530 Subject: [PATCH] Adding CONTINUOUS to backwards compatibility code --- web-common/src/features/dashboards/proto-state/fromProto.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web-common/src/features/dashboards/proto-state/fromProto.ts b/web-common/src/features/dashboards/proto-state/fromProto.ts index b9557699d7f..a2db9bc9889 100644 --- a/web-common/src/features/dashboards/proto-state/fromProto.ts +++ b/web-common/src/features/dashboards/proto-state/fromProto.ts @@ -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;