PLT-1236 Added special handling for markdown links within mattermost (#2763)
* Added special handling for markdown links within mattermost * Moved application of .app__body class to route components
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
e80bf13f48
Коммит
f73daebb61
@@ -379,13 +379,11 @@ export default class PostsView extends React.Component {
|
||||
}
|
||||
window.addEventListener('resize', this.handleResize);
|
||||
PreferenceStore.addChangeListener(this.updateState);
|
||||
$('body').addClass('app__body');
|
||||
}
|
||||
componentWillUnmount() {
|
||||
window.removeEventListener('resize', this.handleResize);
|
||||
this.scrollStopAction.cancel();
|
||||
PreferenceStore.removeChangeListener(this.updateState);
|
||||
$('body').removeClass('app__body');
|
||||
}
|
||||
componentDidUpdate() {
|
||||
if (this.props.postList != null) {
|
||||
|
||||
Ссылка в новой задаче
Block a user