From ff0a9df1fe05a1f972dc55584c116d1086abdc2f Mon Sep 17 00:00:00 2001 From: Dan Labrecque Date: Thu, 10 Feb 2022 14:31:38 -0500 Subject: [PATCH] Enable 90 day UI view in stable stage/prod https://issues.redhat.com/browse/COST-2210 --- src/pages/views/explorer/explorerUtils.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/pages/views/explorer/explorerUtils.ts b/src/pages/views/explorer/explorerUtils.ts index 468672922..b3a114ee1 100644 --- a/src/pages/views/explorer/explorerUtils.ts +++ b/src/pages/views/explorer/explorerUtils.ts @@ -16,7 +16,6 @@ import { ComputedGcpReportItemsParams } from 'utils/computedReport/getComputedGc import { ComputedIbmReportItemsParams } from 'utils/computedReport/getComputedIbmReportItems'; import { ComputedOcpReportItemsParams } from 'utils/computedReport/getComputedOcpReportItems'; import { getCurrentMonthDate, getLast30DaysDate, getLast60DaysDate, getLast90DaysDate } from 'utils/dateRange'; -import { isBetaFeature } from 'utils/feature'; import { hasAwsAccess, hasAzureAccess, @@ -71,13 +70,9 @@ export const dateRangeOptions: { { label: messages.ExplorerDateRange, value: 'previous_month_to_date' }, { label: messages.ExplorerDateRange, value: 'last_thirty_days' }, { label: messages.ExplorerDateRange, value: 'last_sixty_days' }, + { label: messages.ExplorerDateRange, value: 'last_ninety_days' }, ]; -// Todo: Show in-progress features in beta environment only -if (isBetaFeature()) { - dateRangeOptions.push({ label: messages.ExplorerDateRange, value: 'last_ninety_days' }); -} - export const groupByAwsOptions: { label: string; value: ComputedAwsReportItemsParams['idKey'];