bfg-common 1.4.49 → 1.4.51
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/datastoreNew/add/Add.vue +1 -1
- package/components/common/wizards/datastoreNew/add/local/createName/CreateName.vue +2 -2
- package/components/common/wizards/datastoreNew/add/nfs/configuration/Configuration.vue +1 -1
- package/components/common/wizards/datastoreNew/add/sharedStorm/deviceSelection/DeviceSelection.vue +3 -1
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
<div class="clr-form-control clr-row">
|
|
12
12
|
<label for="datastore-name" class="clr-control-label clr-col-md-2">
|
|
13
|
-
{{ localization.datastoreName }}
|
|
13
|
+
{{ localization.common.datastoreName }}
|
|
14
14
|
</label>
|
|
15
15
|
|
|
16
16
|
<div class="clr-control-container" :class="nameErrorText && 'clr-error'">
|
|
@@ -69,7 +69,7 @@ const nameErrorText = computed<string>(() => {
|
|
|
69
69
|
|
|
70
70
|
if (!isInitNameValidation.value) return ''
|
|
71
71
|
return !createDatastoreNameLocal.value
|
|
72
|
-
? localization.value.specifyDatastoreName
|
|
72
|
+
? localization.value.common.specifyDatastoreName
|
|
73
73
|
: ''
|
|
74
74
|
})
|
|
75
75
|
|
package/components/common/wizards/datastoreNew/add/sharedStorm/deviceSelection/DeviceSelection.vue
CHANGED
|
@@ -149,12 +149,14 @@ const nameErrorText = computed<string>(() => {
|
|
|
149
149
|
|
|
150
150
|
const defaultDataId = ref<string>('device-selection-alert-error')
|
|
151
151
|
const errorAlertDataId = computed<string>(() => {
|
|
152
|
+
if (!props.alertMessages?.length) return
|
|
153
|
+
|
|
152
154
|
return !model.value.lunDisk.length
|
|
153
155
|
? `${defaultDataId.value}-not-selected-lundisk`
|
|
154
156
|
: validateNameAndGenerateDataId(
|
|
155
157
|
model.value.name,
|
|
156
158
|
props.alertMessages[0],
|
|
157
|
-
defaultDataId
|
|
159
|
+
defaultDataId.value
|
|
158
160
|
)
|
|
159
161
|
})
|
|
160
162
|
|