bfg-common 1.2.150 → 1.2.151

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.
@@ -122,9 +122,11 @@ const onApplyChanges = (): void => {
122
122
  )!
123
123
 
124
124
  if (selectedDisk) {
125
- const { storage, vmDiskFormat } = dataLocal.value;
125
+ const { storage, vmDiskFormat } = dataLocal.value
126
126
 
127
- ;({ name: disk.storage, id: disk.extra.datastore_id } = storage)
127
+ // ;({ name: disk.storage, id: disk.extra.datastore_id } = storage)
128
+ disk.storage = storage.name
129
+ disk.extra.datastore_id = storage.id
128
130
  disk.disk_format = vmDiskFormat
129
131
  }
130
132
  })
@@ -156,10 +158,14 @@ const checkValidityBlock = (): boolean => {
156
158
  return false
157
159
  }
158
160
  const isActivePerDiskTab = activeTab.value === 'configure-disk'
161
+
159
162
  emits('next-step', {
160
163
  ...dataLocal.value,
161
164
  tab: activeTab.value,
162
- ...(isActivePerDiskTab && { configureDisks: props.configurePerDisks }),
165
+ // ...(isActivePerDiskTab && { configureDisks: props.configurePerDisks }),
166
+ configureDisks: isActivePerDiskTab
167
+ ? configurePerDisksLocal.value
168
+ : props.configurePerDisks,
163
169
  })
164
170
  return true
165
171
  }
@@ -10,5 +10,5 @@ export interface UI_I_SelectStorageDataLocal {
10
10
  export interface UI_I_SelectStorageReadyData
11
11
  extends UI_I_SelectStorageDataLocal {
12
12
  tab: UI_T_VmMigrateSelectStorageTab
13
- configureDisks?: UI_I_StorageConfigurePerDiskItem[]
13
+ configureDisks: UI_I_StorageConfigurePerDiskItem[]
14
14
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.2.150",
4
+ "version": "1.2.151",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",