diff --git a/app/soapbox/features/ui/components/profile_info_panel.js b/app/soapbox/features/ui/components/profile_info_panel.js index 4b5559bfd..219925ca1 100644 --- a/app/soapbox/features/ui/components/profile_info_panel.js +++ b/app/soapbox/features/ui/components/profile_info_panel.js @@ -10,7 +10,7 @@ import Icon from 'soapbox/components/icon'; import VerificationBadge from 'soapbox/components/verification_badge'; import Badge from 'soapbox/components/badge'; import { List as ImmutableList } from 'immutable'; -import { getAcct, isAdmin, isModerator } from 'soapbox/utils/accounts'; +import { getAcct, isAdmin, isModerator, isLocal } from 'soapbox/utils/accounts'; import { displayFqn } from 'soapbox/utils/state'; import classNames from 'classnames'; import CryptoAddress from 'soapbox/features/crypto_donate/components/crypto_address'; @@ -100,16 +100,17 @@ class ProfileInfoPanel extends ImmutablePureComponent {
{this.getStaffBadge()} {account.getIn(['patron', 'is_patron']) && } - {account.get('acct').includes('@') ||
- - -
}
+ {isLocal(account) &&
+ + +
} +