bfg-common 1.3.289 → 1.3.290

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.
@@ -416,11 +416,7 @@ const vmFormCash = ref<UI_I_VmFormCash>({
416
416
  const onChangeName = (name: string, node: UI_I_TreeNode): void => {
417
417
  vmForm.value.name = name
418
418
  if (isSphere.value) {
419
- vmForm.value.locationPath = $recursion.createAbsolutePathRecursion(
420
- node,
421
- 'id',
422
- 'parent'
423
- )
419
+ vmForm.value.locationPath = node.id
424
420
  vmForm.value.dataCenter = $recursion.findParentByValue(
425
421
  node,
426
422
  'datacenter',
@@ -434,11 +430,7 @@ const onChangeName = (name: string, node: UI_I_TreeNode): void => {
434
430
  const computeResourcePath = ref<string>('')
435
431
  const onSelectComputeResourceTree = (node: UI_I_TreeNode): void => {
436
432
  emits('select-compute-resource-tree', node)
437
- computeResourcePath.value = $recursion.createAbsolutePathRecursion(
438
- node,
439
- 'id',
440
- 'parent'
441
- )
433
+ computeResourcePath.value = node.id
442
434
  }
443
435
  const onChangeComputeResource = (node: UI_I_TreeNode): void => {
444
436
  vmForm.value.computeResource = node
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.289",
4
+ "version": "1.3.290",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",