bfg-common 1.3.539 → 1.3.541
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
|
@@ -180,6 +180,7 @@ const onHideAlertInfo = (): void => {
|
|
|
180
180
|
|
|
181
181
|
const errors = ref<string[]>([])
|
|
182
182
|
const errorAlertDataId = ref<string>('')
|
|
183
|
+
const defaultDataId = ref<string>('device-selection-alert-error')
|
|
183
184
|
const formErrors = ref<UI_I_ValidationTouchResult[]>([])
|
|
184
185
|
|
|
185
186
|
/* Lun disk table */
|
|
@@ -253,7 +254,7 @@ const showValidationErrors = (
|
|
|
253
254
|
errorAlertDataId.value = validateNameAndGenerateDataId(
|
|
254
255
|
form.value.name.value,
|
|
255
256
|
errorText,
|
|
256
|
-
|
|
257
|
+
defaultDataId.value
|
|
257
258
|
)
|
|
258
259
|
}
|
|
259
260
|
formErrors.value = data
|
|
@@ -335,11 +336,11 @@ const submit = async (): Promise<void> => {
|
|
|
335
336
|
: validatePropertiesForSphere()
|
|
336
337
|
|
|
337
338
|
if (!valid.isValid || isShowAlertDanger) {
|
|
338
|
-
const isModeSphere = mode === 'sphere'
|
|
339
|
+
const isModeSphere = mode === 'sphere'
|
|
339
340
|
|
|
340
341
|
const errorText =
|
|
341
342
|
localization.value[
|
|
342
|
-
isModeSphere ?
|
|
343
|
+
isModeSphere ? validationTextForSphere() : 'selectDiskToContinueAlert'
|
|
343
344
|
]
|
|
344
345
|
|
|
345
346
|
showValidationErrors(valid, errorText, isShowAlertDanger)
|