Final fixes for moving unread handling to client (#5392)
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
892f8f4651
Коммит
06f89cea30
@@ -102,7 +102,12 @@ function preNeedsTeam(nextState, replace, callback) {
|
||||
nextState.location.pathname.indexOf('/pl/') > -1) {
|
||||
loadProfilesAndTeamMembersForDMSidebar();
|
||||
AsyncClient.getMyTeamsUnread();
|
||||
AsyncClient.getMyChannelMembers();
|
||||
const teams = TeamStore.getAll();
|
||||
for (const id in teams) {
|
||||
if (teams.hasOwnProperty(id)) {
|
||||
AsyncClient.getMyChannelMembersForTeam(id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const d1 = $.Deferred(); //eslint-disable-line new-cap
|
||||
|
||||
Ссылка в новой задаче
Block a user