File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/components/Assets/AssetList Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import { isEnvironment } from "../../../typeGuards/isEnvironment";
1313import { isNumber } from "../../../typeGuards/isNumber" ;
1414import { isString } from "../../../typeGuards/isString" ;
1515import { ConfigContext } from "../../common/App/ConfigContext" ;
16- import { DeploymentType } from "../../common/App/types" ;
1716import { EmptyState } from "../../common/EmptyState" ;
1817import { Menu } from "../../common/Menu" ;
1918import { 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 ) ;
You can’t perform that action at this time.
0 commit comments