From fccacbbf964dd95a025b02555b29f39667a03f0a Mon Sep 17 00:00:00 2001 From: enahum Date: Wed, 29 Jun 2016 09:36:27 -0300 Subject: PLT-3453 Reloading the configuration in the system console should immediately show config changes (#3446) --- webapp/components/admin_console/reload_config.jsx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'webapp/components/admin_console') diff --git a/webapp/components/admin_console/reload_config.jsx b/webapp/components/admin_console/reload_config.jsx index 633993296..d6d3fb56a 100644 --- a/webapp/components/admin_console/reload_config.jsx +++ b/webapp/components/admin_console/reload_config.jsx @@ -6,6 +6,8 @@ import React from 'react'; import Client from 'utils/web_client.jsx'; import * as Utils from 'utils/utils.jsx'; +import {getConfig} from 'utils/async_client.jsx'; + import {FormattedMessage, FormattedHTMLMessage} from 'react-intl'; export default class ReloadConfigButton extends React.Component { @@ -30,6 +32,7 @@ export default class ReloadConfigButton extends React.Component { Client.reloadConfig( () => { + getConfig(); this.setState({ loading: false }); -- cgit v1.2.3-1-g7c22