bfg-common 1.6.94 → 1.6.95

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.
@@ -266,6 +266,7 @@ watchEffect(() => {
266
266
  }
267
267
 
268
268
  const storageLocal = disk.storage || props.storage
269
+ if (!storageLocal) return
269
270
 
270
271
  const hasStorage = datastoreFree[storageLocal.id]
271
272
  const storage = props.datastore.find((item) => item.id === storageLocal.id)
@@ -282,6 +283,7 @@ watchEffect(() => {
282
283
  if (disk.device_type !== 'disk') return
283
284
 
284
285
  const storageLocal = disk.storage || props.storage
286
+ if (!storageLocal) return
285
287
 
286
288
  const isExisting = hardDisksType.value[hardDisksIndex.value[i]] === 'exist'
287
289
  if (isExisting) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.6.94",
4
+ "version": "1.6.95",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",