bfg-common 1.1.57 → 1.1.58
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/add/customizeHardware/virtualHardware/VirtualHardware.vue +6 -2
- package/components/common/vm/actions/add/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue +3 -3
- package/components/common/vm/actions/add/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +3 -3
- package/package.json +1 -1
package/components/common/vm/actions/add/customizeHardware/virtualHardware/VirtualHardware.vue
CHANGED
|
@@ -342,7 +342,7 @@ const onRemoveNetwork = (index: number): void => {
|
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
const defaultCdDvdDriver: UI_I_SendDataNewCdDvdDrive = {
|
|
345
|
-
create:
|
|
345
|
+
create: false,
|
|
346
346
|
attach: false,
|
|
347
347
|
source: '',
|
|
348
348
|
bus: '',
|
|
@@ -372,7 +372,11 @@ const addCdDvdDrive = (): void => {
|
|
|
372
372
|
const value = (cdDvdDrivesIndex.value.at(-1) || 0) + 1
|
|
373
373
|
cdDvdDrivesIndex.value.push(value)
|
|
374
374
|
cdDvdDrivesType.value.push('new')
|
|
375
|
-
cdDvdDrives.value.push({
|
|
375
|
+
cdDvdDrives.value.push({
|
|
376
|
+
...useDeepCopy(defaultCdDvdDriver),
|
|
377
|
+
create: true,
|
|
378
|
+
attach: true,
|
|
379
|
+
})
|
|
376
380
|
}
|
|
377
381
|
const onRemoveCdDvdDrive = (
|
|
378
382
|
index: number,
|
package/components/common/vm/actions/add/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue
CHANGED
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
<div class="flex-align-center flex-space-between">
|
|
19
19
|
<template v-if="props.type === 'removed'">
|
|
20
20
|
<span>{{ localization.deviceWillRemoved }}</span>
|
|
21
|
-
<div class="flex-align-center">
|
|
21
|
+
<div @click.stop class="flex-align-center">
|
|
22
22
|
<input
|
|
23
|
-
id="delete-files-from-datastore"
|
|
23
|
+
:id="`cd-dvd-delete-files-from-datastore-${props.index}`"
|
|
24
24
|
v-model="deleteFilesFromDatastore"
|
|
25
25
|
:disabled="props.disabled"
|
|
26
26
|
type="checkbox"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
@click.stop
|
|
29
29
|
/>
|
|
30
30
|
<label
|
|
31
|
-
for="delete-files-from-datastore"
|
|
31
|
+
:for="`cd-dvd-delete-files-from-datastore-${props.index}`"
|
|
32
32
|
:class="[
|
|
33
33
|
'label-text-normal pointer',
|
|
34
34
|
props.disabled && 'div-disabled',
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
<div class="flex-align-center flex-space-between mr-1">
|
|
24
24
|
<template v-if="props.type === 'removed'">
|
|
25
25
|
<span>{{ localization.deviceWillRemoved }}</span>
|
|
26
|
-
<div class="flex-align-center">
|
|
26
|
+
<div @click.stop class="flex-align-center">
|
|
27
27
|
<input
|
|
28
|
-
id="delete-files-from-datastore"
|
|
28
|
+
:id="`hard-disk-delete-files-from-datastore-${props.index}`"
|
|
29
29
|
v-model="deleteFilesFromDatastore"
|
|
30
30
|
:disabled="props.disabled"
|
|
31
31
|
type="checkbox"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
@click.stop
|
|
34
34
|
/>
|
|
35
35
|
<label
|
|
36
|
-
for="delete-files-from-datastore"
|
|
36
|
+
:for="`hard-disk-delete-files-from-datastore-${props.index}`"
|
|
37
37
|
:class="[
|
|
38
38
|
'label-text-normal pointer',
|
|
39
39
|
props.disabled && 'div-disabled',
|