bfg-common 1.3.338 → 1.3.339

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.
@@ -13,7 +13,7 @@
13
13
  :nfs-version="nfsVersion"
14
14
  :nfs-configuration-submit="nfsConfigurationSubmit"
15
15
  @loading="(e) => emits('loading', e)"
16
- @next="onChangeConfiguration"
16
+ @next="onChangeConfigurationAndNext"
17
17
  />
18
18
 
19
19
  <!-- <templates-home-datastore-actions-add-nfs-kerberos-authentication-->
@@ -90,19 +90,21 @@ watch(nfsVersion, (newValue: UI_T_NfsType) => {
90
90
  emits('change-nfs-version', newValue)
91
91
  })
92
92
 
93
- let configuration: any = null
94
- const onChangeConfiguration = (event: UI_I_ConfigurationSendDataNfs): void => {
95
- configuration = {
93
+ let sendData: any = null
94
+ const onChangeConfigurationAndNext = (
95
+ event: UI_I_ConfigurationSendDataNfs
96
+ ): void => {
97
+ sendData = {
96
98
  name: event.name,
97
99
  folder: event.folder,
98
- server: event.server
100
+ server: event.server,
101
+ hosts: [],
99
102
  }
103
+ emits('submit', sendData)
100
104
  }
101
105
  const onChangeAccessibilityAndNext = (hosts: string[]): void => {
102
- emits('submit', {
103
- ...configuration,
104
- hosts
105
- })
106
+ sendData.hosts = hosts
107
+ emits('submit', sendData)
106
108
  }
107
109
  </script>
108
110
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.338",
4
+ "version": "1.3.339",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",