diff --git a/chaoscenter/web/src/components/KubernetesChaosInfrastructureDeploymentCards/DeploymentScopeCards.tsx b/chaoscenter/web/src/components/KubernetesChaosInfrastructureDeploymentCards/DeploymentScopeCards.tsx index 061c9b5b35c..11afca0755b 100644 --- a/chaoscenter/web/src/components/KubernetesChaosInfrastructureDeploymentCards/DeploymentScopeCards.tsx +++ b/chaoscenter/web/src/components/KubernetesChaosInfrastructureDeploymentCards/DeploymentScopeCards.tsx @@ -52,7 +52,11 @@ export function DeploymentScope({ return ( name="deploymentScope" - items={isInfraPresent ? deploymentScopeDataNs : deploymentScopeData} + items={ + isInfraPresent || deploymentScope === DeploymentScopeOptions.NAMESPACE + ? deploymentScopeDataNs + : deploymentScopeData + } selected={deploymentScopeData[deploymentScopeData.findIndex(card => card.type === deploymentScope)]} onChange={onChange} type={CollapsableSelectType.CardView}