diff --git a/src/utils/feature.ts b/src/utils/feature.ts index 29d576bb3..70c6a5269 100644 --- a/src/utils/feature.ts +++ b/src/utils/feature.ts @@ -1,7 +1,7 @@ // eslint-disable-next-line no-shadow export const enum FeatureType { currency = 'currency', // Currency support https://issues.redhat.com/browse/COST-1277 - ninetyDays = 'ninetyDays', // Cost Explorer 90 days feature https://issues.redhat.com/browse/COST-1670 + // ninetyDays = 'ninetyDays', // Cost Explorer 90 days feature https://issues.redhat.com/browse/COST-1670 exports = 'exports', // Async exports https://issues.redhat.com/browse/COST-2223 gcpOcp = 'gcp_ocp', // GCP filtered by OpenShift https://issues.redhat.com/browse/COST-682 ibm = 'ibm', // IBM https://issues.redhat.com/browse/COST-935 @@ -18,11 +18,10 @@ export const isStageBeta = () => { export const isFeatureVisible = (feature: FeatureType) => { // Show in-progress features for stage-beta only switch (feature) { - case FeatureType.ninetyDays: - return true; // Todo: Example of how to enable a feature for all envs + case FeatureType.gcpOcp: + return true; // Todo: Enable GCP filtered by OpenShift for all envs case FeatureType.currency: case FeatureType.exports: - case FeatureType.gcpOcp: case FeatureType.ibm: case FeatureType.oci: return isStageBeta();