PLT-3453 Reloading the configuration in the system console should immediately show config changes (#3446)

Этот коммит содержится в:
enahum
2016-06-29 09:36:27 -03:00
коммит произвёл Joram Wilander
родитель b418d78517
Коммит fccacbbf96

Просмотреть файл

@@ -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
});