Fix redux-offline (#492)

This commit is contained in:
enahum 2017-04-21 14:19:12 -03:00 committed by GitHub
parent 015b8637eb
commit 311cc4028d

View file

@ -95,7 +95,7 @@ export default function configureAppStore(initialState) {
},
{
type: ViewTypes.SERVER_URL_CHANGED,
serverUrl: state.views.selectServer.serverUrl
serverUrl: state.entities.general.credentials.url || state.views.selectServer.serverUrl
}
]));
@ -120,5 +120,5 @@ export default function configureAppStore(initialState) {
}
};
return configureStore({}, appReducer, getAppReducer, offlineOptions);
return configureStore({}, appReducer, offlineOptions, getAppReducer);
}