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

View File

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