Skip to content

Commit ece22a2

Browse files
Merge pull request #817 from digma-ai/fix/highlights-impact-empty-state
Switch to centralize flag to display the Performance impact
2 parents 389e8ad + bd2b9ef commit ece22a2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/Assets/AssetList/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import { isEnvironment } from "../../../typeGuards/isEnvironment";
1313
import { isNumber } from "../../../typeGuards/isNumber";
1414
import { isString } from "../../../typeGuards/isString";
1515
import { ConfigContext } from "../../common/App/ConfigContext";
16-
import { DeploymentType } from "../../common/App/types";
1716
import { EmptyState } from "../../common/EmptyState";
1817
import { Menu } from "../../common/Menu";
1918
import { NewCircleLoader } from "../../common/NewCircleLoader";
@@ -227,8 +226,7 @@ export const AssetList = (props: AssetListProps) => {
227226
const isImpactHidden = useMemo(
228227
() =>
229228
!(
230-
config.backendInfo?.deploymentType === DeploymentType.HELM &&
231-
config.environment?.type === "Public"
229+
config.backendInfo?.centralize && config.environment?.type === "Public"
232230
),
233231
[config.backendInfo?.deploymentType, config.environment?.type]
234232
);

0 commit comments

Comments
 (0)