Split passthrough to usb and pci components

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia
2024-10-23 17:01:16 +02:00
parent b26da699d3
commit 8a229d56d1
4 changed files with 117 additions and 3 deletions
@@ -135,7 +135,7 @@ export default class PCIDevice extends SteveModel {
enablePassthroughBulk(resources = this) {
this.$dispatch('promptModal', {
resources,
component: 'EnablePassthrough'
component: 'EnablePciPassthrough'
});
}
@@ -135,7 +135,7 @@ export default class USBDevice extends SteveModel {
enablePassthroughBulk(resources = this) {
this.$dispatch('promptModal', {
resources,
component: 'EnablePassthrough'
component: 'EnableUSBPassthrough'
});
}