mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-14 05:31:44 +00:00
Signed-off-by: Andy Lee <andy.lee@suse.com> (cherry picked from commit fca05d84890fb8d3d224f5c540c5e13d82c7eea6) Co-authored-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
parent
57bb1e8562
commit
5d0c4f0c5a
@ -212,7 +212,10 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
},
|
||||||
|
usbPassthroughEnabled() {
|
||||||
|
return this.$store.getters['harvester-common/getFeatureEnabled']('usbPassthrough');
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
@ -682,7 +685,7 @@ export default {
|
|||||||
</Tab>
|
</Tab>
|
||||||
|
|
||||||
<Tab
|
<Tab
|
||||||
v-if="enabledPCI"
|
v-if="enabledPCI && usbPassthroughEnabled"
|
||||||
:label="t('harvester.tab.usbDevices')"
|
:label="t('harvester.tab.usbDevices')"
|
||||||
name="usbDevices"
|
name="usbDevices"
|
||||||
:weight="-7"
|
:weight="-7"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user