- client: request version after DNS status request

Closes #660
This commit is contained in:
Ildar Kamalov
2019-03-28 11:45:31 +03:00
parent fd82e7c26a
commit 6f2e852e09
2 changed files with 32 additions and 34 deletions

View File

@@ -25,8 +25,6 @@ import i18n from '../../i18n';
class App extends Component {
componentDidMount() {
this.props.getDnsStatus();
this.props.getVersion();
this.props.getClients();
}
componentDidUpdate(prevProps) {
@@ -106,10 +104,8 @@ App.propTypes = {
dashboard: PropTypes.object,
isCoreRunning: PropTypes.bool,
error: PropTypes.string,
getVersion: PropTypes.func,
changeLanguage: PropTypes.func,
encryption: PropTypes.object,
getClients: PropTypes.func,
};
export default withNamespaces()(App);