Fix follower/following lists resetting on back-navigation in web UI (#11986)

Fix #11452
This commit is contained in:
Eugen Rochko
2019-09-29 16:27:00 +02:00
committed by GitHub
parent 368a87755b
commit 9683e1dcf8
4 changed files with 14 additions and 6 deletions

View File

@ -27,7 +27,9 @@ class Favourites extends ImmutablePureComponent {
};
componentWillMount () {
this.props.dispatch(fetchFavourites(this.props.params.statusId));
if (!this.props.accountIds) {
this.props.dispatch(fetchFavourites(this.props.params.statusId));
}
}
componentWillReceiveProps (nextProps) {