Verified ['pleroma', 'tags'] fix

This commit is contained in:
Alex Gleason 2020-08-09 14:55:32 -05:00
parent d9579831e0
commit 695a78503d
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

@ -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>