mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 21:21:44 +00:00
hide Enable CPU Pinning for v1.3x
This commit is contained in:
parent
b4bfcee057
commit
5ae560c8cf
@ -433,6 +433,7 @@ export default {
|
|||||||
|
|
||||||
<div class="spacer"></div>
|
<div class="spacer"></div>
|
||||||
<Checkbox
|
<Checkbox
|
||||||
|
v-if="value.cpuPinningFeatureEnabled"
|
||||||
v-model="cpuPinning"
|
v-model="cpuPinning"
|
||||||
class="check"
|
class="check"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
|
|||||||
@ -51,6 +51,10 @@ export default class HciVmTemplate extends HarvesterResource {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get cpuPinningFeatureEnabled() {
|
||||||
|
return this.$rootGetters['harvester-common/getFeatureEnabled']('cpuPinning');
|
||||||
|
}
|
||||||
|
|
||||||
addVersion(moreQuery = {}) {
|
addVersion(moreQuery = {}) {
|
||||||
const router = this.currentRouter();
|
const router = this.currentRouter();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user