@@ -166,7 +166,7 @@ export default {
166166 isTagARule: this .resource .istagarule ,
167167 capacityBytes: this .resource .disksizetotal ,
168168 capacityIOPS: this .resource .capacityiops ,
169- nfsMountOpts: this .resource .nfsmountopts
169+ nfsMountOpts: this .resource .nfsmountopts ,
170170 storageaccessgroups: this .resource .storageaccessgroups
171171 ? this .resource .storageaccessgroups .split (' ,' )
172172 : []
@@ -209,28 +209,28 @@ export default {
209209 params[' details[0].nfsmountopts' ] = values .nfsMountOpts
210210 }
211211
212- this .updateStoragePool (params)
212+ this .updateStoragePool (params, values )
213213 }).catch (error => {
214214 this .formRef .value .scrollToField (error .errorFields [0 ].name )
215215 })
216216 },
217217 closeAction () {
218218 this .$emit (' close-action' )
219219 },
220- updateStoragePool (args ) {
220+ updateStoragePool (args , values ) {
221221 api (' updateStoragePool' , args).then (json => {
222222 this .$message .success (` ${ this .$t (' message.success.edit.primary.storage' )} : ${ this .resource .name } ` )
223223
224224 if (values .storageaccessgroups != null && values .storageaccessgroups .length > 0 ) {
225- params .storageaccessgroups = values .storageaccessgroups .join (' ,' )
225+ args .storageaccessgroups = values .storageaccessgroups .join (' ,' )
226226 } else {
227- params .storageaccessgroups = ' '
227+ args .storageaccessgroups = ' '
228228 }
229229
230- if (params .storageaccessgroups !== undefined && (this .resource .storageaccessgroups ? this .resource .storageaccessgroups .split (' ,' ).join (' ,' ) : ' ' ) !== params .storageaccessgroups ) {
230+ if (args .storageaccessgroups !== undefined && (this .resource .storageaccessgroups ? this .resource .storageaccessgroups .split (' ,' ).join (' ,' ) : ' ' ) !== args .storageaccessgroups ) {
231231 api (' configureStorageAccess' , {
232- storageid: params .id ,
233- storageaccessgroups: params .storageaccessgroups
232+ storageid: args .id ,
233+ storageaccessgroups: args .storageaccessgroups
234234 }).then (response => {
235235 this .$pollJob ({
236236 jobId: response .configurestorageaccessresponse .jobid ,
0 commit comments