Fix JS error when switching teams (#6484)

Этот коммит содержится в:
Joram Wilander
2017-05-24 09:16:27 -04:00
коммит произвёл GitHub
родитель 94fb9f6279
Коммит 14684ae785
2 изменённых файлов: 2 добавлений и 2 удалений

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

@@ -551,7 +551,7 @@ export default class PostList extends React.Component {
window.removeEventListener('keydown', this.handleKeyDown);
this.scrollStopAction.cancel();
PostStore.removePostDraftChangeListener(this.handlePostDraftChange);
PostStore.removePostDraftChangeListener(this.props.channelId, this.handlePostDraftChange);
}
componentDidUpdate() {

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

@@ -4880,7 +4880,7 @@ math-expression-evaluator@^1.2.14:
mattermost-redux@mattermost/mattermost-redux#webapp-master:
version "0.0.1"
resolved "https://codeload.github.com/mattermost/mattermost-redux/tar.gz/e7e9b9ef52b72547174bfae1d0c5b31dddbbbca7"
resolved "https://codeload.github.com/mattermost/mattermost-redux/tar.gz/6af89f1e58258a709601bf46ef7af2ab41d8d1f6"
dependencies:
deep-equal "1.0.1"
harmony-reflect "1.5.1"