Этот коммит содержится в:
JoramWilander
2015-09-02 16:27:55 -04:00
родитель 9a1d3986c5
Коммит fec8fd46c8

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

@@ -387,13 +387,13 @@ export default class Sidebar extends React.Component {
this.setState({loadingDMChannel: -1});
AsyncClient.getChannel(data.id);
Utils.switchChannel(data);
},
}.bind(this),
function error() {
this.setState({loadingDMChannel: -1});
window.location.href = TeamStore.getCurrentTeamUrl() + '/channels/' + channel.name;
}
}.bind(this)
);
};
}.bind(this);
}
}