Fixing loading of team members for dm list (#4477)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
07dbbfb957
Коммит
5fe2d78211
@@ -19,7 +19,6 @@ import * as AsyncClient from 'utils/async_client.jsx';
|
||||
import * as Utils from 'utils/utils.jsx';
|
||||
import * as ChannelUtils from 'utils/channel_utils.jsx';
|
||||
import * as ChannelActions from 'actions/channel_actions.jsx';
|
||||
import {loadProfilesAndTeamMembersForDMSidebar} from 'actions/user_actions.jsx';
|
||||
|
||||
import Constants from 'utils/constants.jsx';
|
||||
|
||||
@@ -125,9 +124,6 @@ export default class Sidebar extends React.Component {
|
||||
|
||||
document.addEventListener('keydown', this.navigateChannelShortcut);
|
||||
document.addEventListener('keydown', this.navigateUnreadChannelShortcut);
|
||||
|
||||
loadProfilesAndTeamMembersForDMSidebar();
|
||||
AsyncClient.getMyChannelMembers();
|
||||
}
|
||||
|
||||
shouldComponentUpdate(nextProps, nextState) {
|
||||
|
||||
Ссылка в новой задаче
Block a user