about summary refs log tree commit diff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-03-01 02:00:21 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-03-01 02:00:21 +0100
commit5960bac11ea62f9066b338ecef46733fea85b1f6 (patch)
tree28c4c18a376d09135503efb29bef8ac38a63cfb6 /app/assets/javascripts
parent3208979655a3b6872232aab82c82f90494858f9d (diff)
Fix incorrect detection of local vs remote user in web UI
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/components/features/account/components/action_bar.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/account/components/action_bar.jsx b/app/assets/javascripts/components/features/account/components/action_bar.jsx
index 3668a0f13..93ca97119 100644
--- a/app/assets/javascripts/components/features/account/components/action_bar.jsx
+++ b/app/assets/javascripts/components/features/account/components/action_bar.jsx
@@ -63,7 +63,7 @@ const ActionBar = React.createClass({
       menu.push({ text: intl.formatMessage(messages.report, { name: account.get('username') }), action: this.props.onReport });
     }
 
-    if (account.get('domain') !== null) {
+    if (account.get('acct') !== account.get('username')) {
       extraInfo = <abbr title={intl.formatMessage(messages.disclaimer)}>*</abbr>;
     }