bfg-common 1.1.91 → 1.1.92

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.
@@ -257,7 +257,13 @@ const addHardDisk = (
257
257
  hardDisksIndex.value.push(newIndex)
258
258
  hardDisksType.value.push(type)
259
259
 
260
- hardDisks.value.push({ create, size, source, attach: true, boot_order: -1 })
260
+ hardDisks.value.push({
261
+ create,
262
+ size,
263
+ source,
264
+ attach: true,
265
+ boot_order: 0, // Убираем галочку
266
+ })
261
267
  sendData()
262
268
  }
263
269
  const onAddExistHardDisk = (hardDisk: UI_I_HardDisk): void => {
@@ -331,7 +337,7 @@ const addNetwork = (): void => {
331
337
 
332
338
  networks.value.push({
333
339
  ...useDeepCopy(defaultNetwork),
334
- boot_order: 0 // Убираем галочку
340
+ boot_order: 0, // Убираем галочку
335
341
  })
336
342
  }
337
343
  const onRemoveNetwork = (index: number): void => {
@@ -383,6 +389,7 @@ const addCdDvdDrive = (): void => {
383
389
  cdDvdDrives.value.push({
384
390
  ...useDeepCopy(defaultCdDvdDriver),
385
391
  attach: true,
392
+ boot_order: 0 // Убираем галочку
386
393
  })
387
394
  }
388
395
  const onRemoveCdDvdDrive = (
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.1.91",
4
+ "version": "1.1.92",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",