Merge pull request #1585 from mattermost/PLT-1301

PLT-1301 Fixing RHS disappearing bug
Этот коммит содержится в:
Christopher Speller
2015-12-03 08:25:01 -05:00
родитель e92695c4a4 a25614f259
Коммит 78cb2094da
2 изменённых файлов: 0 добавлений и 2 удалений

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

@@ -34,7 +34,6 @@ export default class CreateComment extends React.Component {
this.handleUploadError = this.handleUploadError.bind(this);
this.handleTextDrop = this.handleTextDrop.bind(this);
this.removePreview = this.removePreview.bind(this);
this.handleSubmit = this.handleSubmit.bind(this);
this.getFileCount = this.getFileCount.bind(this);
this.handleResize = this.handleResize.bind(this);
this.onPreferenceChange = this.onPreferenceChange.bind(this);

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

@@ -101,7 +101,6 @@ export default class RhsThread extends React.Component {
}
if (currentPosts.posts[currentPosts.order[0]].channel_id === currentSelected.posts[currentSelected.order[0]].channel_id) {
currentSelected.posts = {};
for (var postId in currentPosts.posts) {
if (currentPosts.posts.hasOwnProperty(postId)) {
currentSelected.posts[postId] = currentPosts.posts[postId];