add feature flag config

This commit is contained in:
andy.lee authored and Francesco Torchia committed 2024-11-12 11:50:31 +01:00
1 parent aa3c9268e3
commit 77d7f13836
7 files changed
+107 -16

No files matched your search

@@ -197,6 +197,10 @@ export default {
},
showCpuPinningBanner() {
if (!this.value.cpuPinningFeatureEnabled) {
return false;
}
if (this.mode === 'edit') {
return this.cpuPinning !== !!this.cloneVM.spec.template.spec.domain.cpu.dedicatedCpuPlacement;
}
@@ -832,6 +836,7 @@ export default {
/>
<Checkbox
v-if="value.cpuPinningFeatureEnabled"
v-model:value="cpuPinning"
:disabled="!enableCpuPinningCheckbox"
class="check"