Merge commit 'b878e3d8df
' into kb_migration_development
This commit is contained in:
commit
f3867c10de
30 changed files with 51 additions and 40 deletions
|
@ -209,7 +209,7 @@ class Status extends ImmutablePureComponent {
|
|||
loadedStatusId: undefined,
|
||||
};
|
||||
|
||||
componentWillMount () {
|
||||
UNSAFE_componentWillMount () {
|
||||
this.props.dispatch(fetchStatus(this.props.params.statusId));
|
||||
}
|
||||
|
||||
|
@ -217,7 +217,7 @@ class Status extends ImmutablePureComponent {
|
|||
attachFullscreenListener(this.onFullScreenChange);
|
||||
}
|
||||
|
||||
componentWillReceiveProps (nextProps) {
|
||||
UNSAFE_componentWillReceiveProps (nextProps) {
|
||||
if (nextProps.params.statusId !== this.props.params.statusId && nextProps.params.statusId) {
|
||||
this._scrolledIntoView = false;
|
||||
this.props.dispatch(fetchStatus(nextProps.params.statusId));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue