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.
package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/DeviceSelection.vue
CHANGED
|
@@ -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
|
-
|
|
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'
|
|
338
|
+
const isModeSphere = mode === 'sphere'
|
|
339
339
|
|
|
340
340
|
const errorText =
|
|
341
341
|
localization.value[
|
|
342
|
-
isModeSphere ?
|
|
342
|
+
isModeSphere ? validationTextForSphere() : 'selectDiskToContinueAlert'
|
|
343
343
|
]
|
|
344
344
|
|
|
345
345
|
showValidationErrors(valid, errorText, isShowAlertDanger)
|