We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8e0ee2 commit 63659bbCopy full SHA for 63659bb
src/fireedge/src/modules/components/Forms/VmTemplate/CreateForm/Steps/ExtraConfiguration/numa/schema.js
@@ -82,9 +82,9 @@ const NODE_AFFINITY = {
82
name: 'TOPOLOGY.NODE_AFFINITY',
83
label: T.NodeAffinity,
84
tooltip: T.NodeAffinityConcept,
85
- dependOf: [PIN_POLICY.name],
86
- htmlType: ([pinPolicy] = []) =>
87
- pinPolicy !== NUMA_PIN_POLICIES.NODE_AFFINITY && INPUT_TYPES.HIDDEN,
+ dependOf: [PIN_POLICY.name, ENABLE_NUMA.name],
+ htmlType: ([pinPolicy, enabledNuma = false] = []) =>
+ (!enabledNuma || pinPolicy !== NUMA_PIN_POLICIES.NODE_AFFINITY) && INPUT_TYPES.HIDDEN,
88
type: INPUT_TYPES.TEXT,
89
validation: lazy((_, { context }) => {
90
const { extra } = context || {}
0 commit comments