Fix redux-offline (#492)
This commit is contained in:
parent
015b8637eb
commit
311cc4028d
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue