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.
@@ -21,7 +21,7 @@
21
21
  />
22
22
 
23
23
  <common-wizards-datastore-new-add-local
24
- v-show="selectedStep.id === 1"
24
+ v-if="selectedStep.id === 1"
25
25
  v-model="form"
26
26
  :project="props.project"
27
27
  :step-id="selectedStep.id"
@@ -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
 
@@ -3,7 +3,7 @@
3
3
  <div>
4
4
  <atoms-alert
5
5
  v-show="props.alertMessages?.length"
6
- test-id="configure-information-alert"
6
+ test-id="configure-error-alert"
7
7
  status="alert-danger"
8
8
  :items="props.alertMessages"
9
9
  @remove="onHideAlert"
@@ -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
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.49",
4
+ "version": "1.4.51",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",