bfg-common 1.3.342 → 1.3.343
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.
|
@@ -135,7 +135,7 @@ const datastoreForm = ref<UI_I_CreateDatastoreForm>({
|
|
|
135
135
|
readonly: false,
|
|
136
136
|
version: nfsVersion.value,
|
|
137
137
|
type_code: 4,
|
|
138
|
-
hosts: []
|
|
138
|
+
hosts: [],
|
|
139
139
|
},
|
|
140
140
|
})
|
|
141
141
|
|
|
@@ -284,14 +284,17 @@ const saveChangesAndNextNfs = (event: any, next = true): void => {
|
|
|
284
284
|
nfs.hosts = event.hosts
|
|
285
285
|
|
|
286
286
|
// TODO refactoring
|
|
287
|
-
const
|
|
287
|
+
const hostsNames =
|
|
288
|
+
props.nfsHosts
|
|
289
|
+
?.filter((host) => event.hosts.includes(host.id))
|
|
290
|
+
?.map((host) => host.name) || []
|
|
288
291
|
|
|
289
292
|
dataReadyView.value = constructDataReadyViewFunc(
|
|
290
293
|
localization.value,
|
|
291
294
|
'nfs',
|
|
292
295
|
{
|
|
293
296
|
...event,
|
|
294
|
-
hosts:
|
|
297
|
+
hosts: hostsNames,
|
|
295
298
|
version: nfsVersion.value,
|
|
296
299
|
},
|
|
297
300
|
isWizardModeForSphere.value
|