Verified ['pleroma', 'tags'] fix

merge-requests/155/head
Alex Gleason 4 years ago
parent d9579831e0
commit 695a78503d
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -165,7 +165,7 @@ class EditProfile extends ImmutablePureComponent {
render() {
const { intl, maxFields, account } = this.props;
const verified = account.get('pleroma').get('tags').includes('verified');
const verified = account.getIn(['pleroma', 'tags'], ImmutableList()).includes('verified');
return (
<Column icon='user' heading={intl.formatMessage(messages.heading)} backBtnSlim>

Loading…
Cancel
Save