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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (nextProps.shouldHighlight !== this.props.shouldHighlight) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
getCommentCount(props) {
|
getCommentCount(props) {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user