bfg-common 1.1.74 → 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.
@@ -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
- return storage.value.capacity.free_mb - $binary.gbToMb(props.hardDisk.size)
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 v-if="!props.isEdit">{{ vmNameLocal }}</span>
21
- <input
22
- v-else
23
- id="general-option-vm-name"
24
- v-model="vmNameLocal"
25
- type="text"
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
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.1.74",
4
+ "version": "1.1.75",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",