Merge pull request #1594 from mattermost/plt-1332
PLT-1332 Update post if shouldHighlight prop changes
Этот коммит содержится в:
@@ -95,6 +95,10 @@ export default class Post extends React.Component {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (nextProps.shouldHighlight !== this.props.shouldHighlight) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
getCommentCount(props) {
|
||||
|
||||
Ссылка в новой задаче
Block a user