bfg-common 1.3.539 → 1.3.540

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.
@@ -179,7 +179,7 @@ const onHideAlertInfo = (): void => {
179
179
  }
180
180
 
181
181
  const errors = ref<string[]>([])
182
- const errorAlertDataId = ref<string>('')
182
+ const errorAlertDataId = ref<string>('device-selection-alert-error')
183
183
  const formErrors = ref<UI_I_ValidationTouchResult[]>([])
184
184
 
185
185
  /* Lun disk table */
@@ -253,7 +253,7 @@ const showValidationErrors = (
253
253
  errorAlertDataId.value = validateNameAndGenerateDataId(
254
254
  form.value.name.value,
255
255
  errorText,
256
- 'device-selection-alert-error'
256
+ errorAlertDataId.value
257
257
  )
258
258
  }
259
259
  formErrors.value = data
@@ -335,11 +335,11 @@ const submit = async (): Promise<void> => {
335
335
  : validatePropertiesForSphere()
336
336
 
337
337
  if (!valid.isValid || isShowAlertDanger) {
338
- const isModeSphere = mode === 'sphere' && props.datastoreType === 'local'
338
+ const isModeSphere = mode === 'sphere'
339
339
 
340
340
  const errorText =
341
341
  localization.value[
342
- isModeSphere ? 'selectHostToContinueAlert' : validationTextForSphere()
342
+ isModeSphere ? validationTextForSphere() : 'selectDiskToContinueAlert'
343
343
  ]
344
344
 
345
345
  showValidationErrors(valid, errorText, isShowAlertDanger)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.539",
4
+ "version": "1.3.540",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",