Verified ['pleroma', 'tags'] fix
This commit is contained in:
parent
d9579831e0
commit
695a78503d
|
@ -165,7 +165,7 @@ class EditProfile extends ImmutablePureComponent {
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { intl, maxFields, account } = this.props;
|
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 (
|
return (
|
||||||
<Column icon='user' heading={intl.formatMessage(messages.heading)} backBtnSlim>
|
<Column icon='user' heading={intl.formatMessage(messages.heading)} backBtnSlim>
|
||||||
|
|
Loading…
Reference in New Issue