bfg-common 1.1.87 → 1.1.88

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.
@@ -170,11 +170,11 @@ const isCpuDisabled = computed<boolean>(
170
170
  )
171
171
  watch(selectedCpu, (newValue) => {
172
172
  selectedCpu.value = Math.floor(+newValue)
173
- if (!(selectedCpu.value % selectedCorePerSocket.value)) return
173
+ if (!(selectedCpu.value % selectedCorePerSocket.value) || props.isEdit) return
174
174
  selectedCorePerSocket.value = 1
175
175
  })
176
176
  const maxCpuOptions = computed<UI_I_OptionItem[]>(() =>
177
- cpuOptionsFunc(localization.value, selectedCpu.value + 1, props.maxCpus)
177
+ cpuOptionsFunc(localization.value, selectedCpu.value, props.maxCpus)
178
178
  )
179
179
  watch(selectedCpu, (newValue) => {
180
180
  if (newValue >= props.maxCpus) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.1.87",
4
+ "version": "1.1.88",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",