bfg-common 1.1.73 → 1.1.75
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/cdDvdDrive/CdDvdDrive.vue +1 -0
- package/components/common/vm/actions/add/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +2 -2
- package/components/common/vm/actions/add/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +9 -8
- package/package.json +1 -1
package/components/common/vm/actions/add/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue
CHANGED
|
@@ -209,6 +209,7 @@ watch(
|
|
|
209
209
|
io: 'native',
|
|
210
210
|
limit_iops: 0,
|
|
211
211
|
discard: 'unmap',
|
|
212
|
+
target: props.cdDvdDrive.target,
|
|
212
213
|
boot_order: props.cdDvdDrive.boot_order,
|
|
213
214
|
detach: props.type === 'removed',
|
|
214
215
|
remove: props.type === 'removed' && deleteFilesFromDatastore.value, // Проверяем если удалили диск и указали Delete files from datastore
|
|
@@ -230,8 +230,8 @@ const maxHardDisk = computed<number>(() => {
|
|
|
230
230
|
if (props.type === 'exist') return $binary.gbToMb(props.hardDisk.size)
|
|
231
231
|
|
|
232
232
|
if (!storage.value) return 0
|
|
233
|
-
if (props.type === 'edit')
|
|
234
|
-
|
|
233
|
+
// if (props.type === 'edit')
|
|
234
|
+
// return storage.value.capacity.free_mb - $binary.gbToMb(props.hardDisk.size)
|
|
235
235
|
|
|
236
236
|
return storage.value.capacity.free_mb
|
|
237
237
|
})
|
|
@@ -17,13 +17,14 @@
|
|
|
17
17
|
{{ localization.vmName }}
|
|
18
18
|
</template>
|
|
19
19
|
<template #stackBlockContent>
|
|
20
|
-
<span
|
|
21
|
-
<
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
<span>{{ vmNameLocal }}</span>
|
|
21
|
+
<!-- <span v-if="!props.isEdit">{{ vmNameLocal }}</span>-->
|
|
22
|
+
<!-- <input-->
|
|
23
|
+
<!-- v-else-->
|
|
24
|
+
<!-- id="general-option-vm-name"-->
|
|
25
|
+
<!-- v-model="vmNameLocal"-->
|
|
26
|
+
<!-- type="text"-->
|
|
27
|
+
<!-- />-->
|
|
27
28
|
</template>
|
|
28
29
|
</atoms-stack-block>
|
|
29
30
|
|
|
@@ -169,7 +170,7 @@ watch(
|
|
|
169
170
|
versionsOptions,
|
|
170
171
|
() => {
|
|
171
172
|
guestOsVersionLocal.value = versionsOptions.value[0]
|
|
172
|
-
}
|
|
173
|
+
}
|
|
173
174
|
// { immediate: true }
|
|
174
175
|
)
|
|
175
176
|
|