Temporary fix for JS errors when logging out with non-english language (#4990)
Этот коммит содержится в:
коммит произвёл
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) {
|
||||
|
||||
Ссылка в новой задаче
Block a user