Этот коммит содержится в:
Joram Wilander
2017-03-02 09:10:53 -05:00
коммит произвёл Corey Hulen
родитель 1bd3917e3e
Коммит d945393403

Просмотреть файл

@@ -136,7 +136,7 @@ export default class PostViewController extends React.Component {
onTeamChange() {
const currentTeamId = TeamStore.getCurrentId();
if (this.state.channel.team_id !== currentTeamId) {
if ((this.state.channel.type === Constants.OPEN_CHANNEL || this.state.channel.type === Constants.PRIVATE_CHANNEL) && this.state.channel.team_id !== currentTeamId) {
this.setState({
currentTeamId,
loading: true