Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/prod-beta' into prod-stable
Browse files Browse the repository at this point in the history
  • Loading branch information
dlabrecq committed Feb 10, 2022
2 parents 8b4c210 + 9c4edd2 commit 5af9abc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/pages/views/explorer/explorerUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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'];
Expand Down

0 comments on commit 5af9abc

Please sign in to comment.