bfg-common 1.3.120 → 1.3.121
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue
CHANGED
|
@@ -488,7 +488,7 @@ const onRemovePciDevice = (index: number): void => {
|
|
|
488
488
|
if (pciDevicesType.value[index] === 'edit') {
|
|
489
489
|
pciDevicesType.value = pciDevicesType.value.map(
|
|
490
490
|
(item, key) => {
|
|
491
|
-
if (key
|
|
491
|
+
if (key === removeIndex) return 'removed'
|
|
492
492
|
return item
|
|
493
493
|
}
|
|
494
494
|
)
|