Update chained get requests

This commit is contained in:
Mary Kate 2020-08-07 17:01:15 -05:00
parent f7f0439e72
commit e9d76b6287
2 changed files with 3 additions and 4 deletions

View File

@ -3,8 +3,7 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
import { acctFull } from 'soapbox/utils/accounts';
import StillImage from 'soapbox/components/still_image';
import VerificationBadge from 'soapbox/components/verification_badge';
import { List as ImmutableList } from 'immutable';
const ProfilePreview = ({ account }) => (
<div className='card h-card'>
@ -21,7 +20,7 @@ const ProfilePreview = ({ account }) => (
<bdi>
<strong className='emojify p-name'>
{account.get('display_name')}
{account.get('pleroma').get('tags').includes('verified') && <VerificationBadge />}
{account.getIn(['pleroma', 'tags'], ImmutableList()).includes('verified') && <VerificationBadge />}
</strong>
</bdi>
<span>{acctFull(account)}</span>

View File

@ -20,7 +20,7 @@
.column,
.drawer {
flex: 1 1 100%;
overflow: visible;
overflow: hidden;
}
.drawer__pager {