bfg-common 1.3.544 → 1.3.546
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
|
@@ -251,11 +251,13 @@ const showValidationErrors = (
|
|
|
251
251
|
): void => {
|
|
252
252
|
if (alert) {
|
|
253
253
|
errors.value = [errorText]
|
|
254
|
-
errorAlertDataId.value =
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
254
|
+
errorAlertDataId.value = !selectedLunDisk.value.length
|
|
255
|
+
? `${defaultDataId.value}-not-selected-lundisk`
|
|
256
|
+
: validateNameAndGenerateDataId(
|
|
257
|
+
form.value.name.value,
|
|
258
|
+
errorText,
|
|
259
|
+
defaultDataId.value
|
|
260
|
+
)
|
|
259
261
|
}
|
|
260
262
|
formErrors.value = data
|
|
261
263
|
}
|