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();
|
UserStore.clear();
|
||||||
TeamStore.clear();
|
TeamStore.clear();
|
||||||
ChannelStore.clear();
|
ChannelStore.clear();
|
||||||
newLocalizationSelected(global.window.mm_config.DefaultClientLocale);
|
|
||||||
stopPeriodicStatusUpdates();
|
stopPeriodicStatusUpdates();
|
||||||
WebsocketActions.close();
|
WebsocketActions.close();
|
||||||
browserHistory.push(redirectTo);
|
window.location.href = redirectTo;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function emitSearchMentionsEvent(user) {
|
export function emitSearchMentionsEvent(user) {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user