diff --git a/src/components/Assets/AssetList/index.tsx b/src/components/Assets/AssetList/index.tsx index 3451cec11..e3a83334f 100644 --- a/src/components/Assets/AssetList/index.tsx +++ b/src/components/Assets/AssetList/index.tsx @@ -102,7 +102,7 @@ const getSortingCriterionInfo = ( } => { const sortingCriterionInfoMap = { [SORTING_CRITERION.CRITICAL_INSIGHTS]: { - label: "Critical insights", + label: "Critical issues", defaultOrder: SORTING_ORDER.DESC }, [SORTING_CRITERION.PERFORMANCE]: { @@ -261,9 +261,9 @@ export const AssetList = (props: AssetListProps) => { const isImpactHidden = useMemo( () => - Boolean( + !( config.backendInfo?.deploymentType === DeploymentType.HELM && - config.environment?.type === "shared" + config.environment?.type === "shared" ), [config.backendInfo?.deploymentType, config.environment?.type] ); diff --git a/src/components/Insights/InsightsCatalog/index.tsx b/src/components/Insights/InsightsCatalog/index.tsx index 4ed3689ca..32fce607e 100644 --- a/src/components/Insights/InsightsCatalog/index.tsx +++ b/src/components/Insights/InsightsCatalog/index.tsx @@ -148,7 +148,7 @@ export const InsightsCatalog = (props: InsightsCatalogProps) => { ? [ { value: SORTING_CRITERION.CRITICAL_INSIGHTS, - label: "Critical insights", + label: "Critical issues", defaultOrder: SORTING_ORDER.DESC } ]