Этот коммит содержится в:
Joram Wilander
2017-06-28 09:38:19 -04:00
коммит произвёл enahum
родитель a32f6f7733
Коммит 5492ca28b1
5 изменённых файлов: 10 добавлений и 24 удалений

Просмотреть файл

@@ -32,12 +32,12 @@ import {savePreferences as savePreferencesRedux, deletePreferences} from 'matter
import {Preferences as PreferencesRedux} from 'mattermost-redux/constants';
export function loadMe() {
return UserActions.loadMe()(dispatch, getState).then(() => {
if (window.mm_config) {
loadCurrentLocale();
}
});
export async function loadMe() {
await UserActions.loadMe()(dispatch, getState);
if (window.mm_config) {
loadCurrentLocale();
}
}
export function loadMeAndConfig(callback) {