bfg-common 1.1.69 → 1.1.70

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.
@@ -387,7 +387,8 @@ const onRemoveCdDvdDrive = (
387
387
  ): void => {
388
388
  const removeIndex = cdDvdDrivesIndex.value.indexOf(index)
389
389
 
390
- if (!cdDvdDrive.create && !cdDvdDrive.attach) {
390
+ // if (!cdDvdDrive.create && !cdDvdDrive.attach) {
391
+ if (cdDvdDrivesType.value[index] === 'edit' && !cdDvdDrive.attach) {
391
392
  cdDvdDrivesType.value = cdDvdDrivesType.value.map((item, key) => {
392
393
  if (key === removeIndex) return 'removed'
393
394
  return item
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.1.69",
4
+ "version": "1.1.70",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",