diff --git a/packages/shared/src/components/Apps/AppForms/AppBaseInfoForm/PlacementForm/ConfigForm/ConfigEditItems/index.tsx b/packages/shared/src/components/Apps/AppForms/AppBaseInfoForm/PlacementForm/ConfigForm/ConfigEditItems/index.tsx index 7b6a56570da..7c02b80d680 100644 --- a/packages/shared/src/components/Apps/AppForms/AppBaseInfoForm/PlacementForm/ConfigForm/ConfigEditItems/index.tsx +++ b/packages/shared/src/components/Apps/AppForms/AppBaseInfoForm/PlacementForm/ConfigForm/ConfigEditItems/index.tsx @@ -33,7 +33,7 @@ type Props = { workspaces: FormattedWorkspace[]; namespaces: FormattedNamespace[]; refetchClusters: () => void; - refetchNamespaces: () => void; + refetchNamespaces: (data: { cluster: string }) => void; workspace?: string; onConfirm?: () => void; onCancel?: () => void; @@ -104,7 +104,10 @@ function ConfigForm({ - refetchNamespaces()}> + refetchNamespaces({ cluster: val })} + > {clusterOptions.map(({ label, value, notReady, cluster }) => (