about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/reblogs/index.js
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-09-29 16:27:00 +0200
committerGitHub <noreply@github.com>2019-09-29 16:27:00 +0200
commit9683e1dcf8bbddb07b818960abf254248be3575c (patch)
treef88e64ab12d5f65ecbb52f90e78e51cd318d1861 /app/javascript/mastodon/features/reblogs/index.js
parent368a87755b4b12c37deb415e10e03c709012f698 (diff)
Fix follower/following lists resetting on back-navigation in web UI (#11986)
Fix #11452
Diffstat (limited to 'app/javascript/mastodon/features/reblogs/index.js')
-rw-r--r--app/javascript/mastodon/features/reblogs/index.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/reblogs/index.js b/app/javascript/mastodon/features/reblogs/index.js
index 229f626b3..7edcf1968 100644
--- a/app/javascript/mastodon/features/reblogs/index.js
+++ b/app/javascript/mastodon/features/reblogs/index.js
@@ -27,7 +27,9 @@ class Reblogs extends ImmutablePureComponent {
   };
 
   componentWillMount () {
-    this.props.dispatch(fetchReblogs(this.props.params.statusId));
+    if (!this.props.accountIds) {
+      this.props.dispatch(fetchReblogs(this.props.params.statusId));
+    }
   }
 
   componentWillReceiveProps(nextProps) {