People.Client: Profile: changed order of requests after changing language
This commit is contained in:
parent
6e0fe3023e
commit
c969609db9
@ -130,10 +130,8 @@ class ProfileInfo extends React.PureComponent {
|
||||
if (profile.cultureName === language.key) return;
|
||||
|
||||
updateProfileCulture(profile.id, language.key)
|
||||
.then(() => {
|
||||
getCurrentCustomSchema(store.dispatch, nameSchemaId);
|
||||
getModules(store.dispatch);
|
||||
})
|
||||
.then(() => getModules(store.dispatch))
|
||||
.then(() => getCurrentCustomSchema(store.dispatch, nameSchemaId));
|
||||
}
|
||||
|
||||
getLanguages = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user