diff options
Diffstat (limited to 'webapp/components')
-rw-r--r-- | webapp/components/admin_console/configuration_settings.jsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/webapp/components/admin_console/configuration_settings.jsx b/webapp/components/admin_console/configuration_settings.jsx index 0a2e32f77..65cec3027 100644 --- a/webapp/components/admin_console/configuration_settings.jsx +++ b/webapp/components/admin_console/configuration_settings.jsx @@ -24,6 +24,12 @@ export default class ConfigurationSettings extends AdminSettings { }); } + componentWillReceiveProps(nextProps) { + if (nextProps.config.ServiceSettings.ListenAddress !== this.props.config.ServiceSettings.ListenAddress) { + this.setState({listenAddress: nextProps.config.ServiceSettings.ListenAddress}); + } + } + getConfigFromState(config) { config.ServiceSettings.ListenAddress = this.state.listenAddress; |