PLT-4596 Stopped trying to get new users when not in a context with a team (#4411)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
6a4d1713e6
Коммит
eaaed77603
@@ -199,6 +199,11 @@ function handlePostDeleteEvent(msg) {
|
||||
}
|
||||
|
||||
function handleNewUserEvent(msg) {
|
||||
if (TeamStore.getCurrentId() === '') {
|
||||
// Any new users will be loaded when we switch into a context with a team
|
||||
return;
|
||||
}
|
||||
|
||||
AsyncClient.getUser(msg.data.user_id);
|
||||
AsyncClient.getChannelStats();
|
||||
loadProfilesAndTeamMembersForDMSidebar();
|
||||
|
||||
Ссылка в новой задаче
Block a user