File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -295,13 +295,14 @@ export default {
295295 params[this .scopeKey ] = this .resource ? .id
296296 }
297297 postAPI (' updateConfiguration' , params).then (json => {
298- configRecordEntry = json .updateconfigurationresponse .configuration
298+ const apiRecord = json .updateconfigurationresponse .configuration
299+ configRecordEntry = { ... apiRecord, value: String (newValue) }
299300 this .editableValue = this .getEditableValue (configRecordEntry)
300301 this .actualValue = this .editableValue
301302 this .$emit (' change-config' , { value: newValue })
302303 this .$store .dispatch (' RefreshFeatures' )
303304 this .$messageConfigSuccess (` ${ this .$t (' message.setting.updated' )} ${ configrecord .name } ` , configrecord)
304- this .$notifyConfigurationValueChange (json ? . updateconfigurationresponse ? . configuration || null )
305+ this .$notifyConfigurationValueChange (configRecordEntry )
305306 }).catch (error => {
306307 this .editableValue = this .actualValue
307308 console .error (error)
You can’t perform that action at this time.
0 commit comments