diff options
Diffstat (limited to 'webapp/components/admin_console/reload_config.jsx')
-rw-r--r-- | webapp/components/admin_console/reload_config.jsx | 3 |
1 files changed, 3 insertions, 0 deletions
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 }); |