about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/following/index.js
diff options
context:
space:
mode:
authorTakeshi Umeda <noel.yoshiba@gmail.com>2020-07-02 06:38:44 +0900
committerThibaut Girka <thib@sitedethib.com>2020-07-02 13:58:50 +0200
commit1c8eb9bcf7fb3af20b2896a266442f900eab9b63 (patch)
tree68e479f4a983f2166856a4384ed25f366cb1d7c8 /app/javascript/flavours/glitch/features/following/index.js
parent9d127e15ffc337b6f0d5909c76f4771feeb0c978 (diff)
[Glitch] Fix the conditions for incomplete remote content
Port 7548a474a5f07f152e6fc0dac55bef78ac5ab1dd to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/features/following/index.js')
-rw-r--r--app/javascript/flavours/glitch/features/following/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/following/index.js b/app/javascript/flavours/glitch/features/following/index.js
index e06eaa8a6..968829fd5 100644
--- a/app/javascript/flavours/glitch/features/following/index.js
+++ b/app/javascript/flavours/glitch/features/following/index.js
@@ -20,7 +20,7 @@ import ScrollableList from 'flavours/glitch/components/scrollable_list';
 import TimelineHint from 'flavours/glitch/components/timeline_hint';
 
 const mapStateToProps = (state, props) => ({
-  remote: !!state.getIn(['accounts', props.params.accountId, 'acct']) !== state.getIn(['accounts', props.params.accountId, 'username']),
+  remote: !!(state.getIn(['accounts', props.params.accountId, 'acct']) !== state.getIn(['accounts', props.params.accountId, 'username'])),
   remoteUrl: state.getIn(['accounts', props.params.accountId, 'url']),
   isAccount: !!state.getIn(['accounts', props.params.accountId]),
   accountIds: state.getIn(['user_lists', 'following', props.params.accountId, 'items']),