Do not fetch processes/plugins/services at

each route change

Version is not fetched anymore, we cannot use them as an
anchore
This commit is contained in:
Anthony Laibe 2018-10-22 09:50:12 +01:00 committed by Pascal Precht
parent 892200a236
commit 3bb696e4d3
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ import {
import {LIGHT_THEME, DARK_THEME} from '../constants';
import { getCredentials, getAuthenticationError, getVersions, getTheme } from '../reducers/selectors';
import { getCredentials, getAuthenticationError, getProcesses, getTheme } from '../reducers/selectors';
const qs = require('qs');
@ -114,7 +114,7 @@ AppContainer.propTypes = {
function mapStateToProps(state) {
return {
initialized: getVersions(state).length > 0,
initialized: getProcesses(state).length > 0,
credentials: getCredentials(state),
authenticationError: getAuthenticationError(state),
theme: getTheme(state),