PLT-3881 Fix websocket errors after leaving the team (#3815)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
dba2deabb0
Коммит
eafc802831
@@ -194,6 +194,8 @@ function handleLeaveTeamEvent(msg) {
|
||||
|
||||
// if the are on the team begin removed redirect them to the root
|
||||
if (TeamStore.getCurrentId() === msg.team_id) {
|
||||
TeamStore.setCurrentId('');
|
||||
Client.setTeamId('');
|
||||
browserHistory.push('/');
|
||||
}
|
||||
} else if (TeamStore.getCurrentId() === msg.team_id) {
|
||||
|
||||
Ссылка в новой задаче
Block a user