mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-01 03:36:04 +08:00
Split passthrough to usb and pci components
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
@@ -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'
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user