Temporary fix for JS errors when logging out with non-english language (#4990)

Этот коммит содержится в:
Joram Wilander
2017-01-06 09:00:30 -05:00
коммит произвёл Harrison Healey
родитель 38f89cb144
Коммит b79ce19aea

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

@@ -487,10 +487,9 @@ export function clientLogout(redirectTo = '/') {
UserStore.clear();
TeamStore.clear();
ChannelStore.clear();
newLocalizationSelected(global.window.mm_config.DefaultClientLocale);
stopPeriodicStatusUpdates();
WebsocketActions.close();
browserHistory.push(redirectTo);
window.location.href = redirectTo;
}
export function emitSearchMentionsEvent(user) {