We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 414b1bb + 458d8f3 commit 3fd9e37Copy full SHA for 3fd9e37
packages/forklift-console-plugin/src/modules/Providers/views/migrate/components/PlansCreateForm.tsx
@@ -291,7 +291,10 @@ export const PlansCreateForm = ({
291
key={ns?.name || index}
292
value={ns?.name}
293
label={ns?.name ?? String(index)}
294
- isDisabled={namespacesUsedBySelectedVms.includes(ns?.name)}
+ isDisabled={
295
+ namespacesUsedBySelectedVms.includes(ns?.name) &&
296
+ plan.spec.provider?.destination?.name === plan.spec.provider.source.name
297
+ }
298
/>
299
)),
300
]}
0 commit comments