hide usb device tab in v1.3.x (#236) (#237)

Signed-off-by: Andy Lee <andy.lee@suse.com>
(cherry picked from commit fca05d8489)

Co-authored-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
mergify[bot]
2025-04-09 14:04:30 +08:00
committed by GitHub
co-authored by Andy Lee
parent 57bb1e8562
commit 5d0c4f0c5a
@@ -212,7 +212,10 @@ export default {
}
return false;
}
},
usbPassthroughEnabled() {
return this.$store.getters['harvester-common/getFeatureEnabled']('usbPassthrough');
},
},
watch: {
@@ -682,7 +685,7 @@ export default {
</Tab>
<Tab
v-if="enabledPCI"
v-if="enabledPCI && usbPassthroughEnabled"
:label="t('harvester.tab.usbDevices')"
name="usbDevices"
:weight="-7"