Fix media, following and followers tabs in web UI (#19426)
This commit is contained in:
parent
5452af2188
commit
73de39e632
4 changed files with 8 additions and 4 deletions
|
@ -16,9 +16,10 @@ import LoadMore from 'mastodon/components/load_more';
|
|||
import MissingIndicator from 'mastodon/components/missing_indicator';
|
||||
import { openModal } from 'mastodon/actions/modal';
|
||||
import { FormattedMessage } from 'react-intl';
|
||||
import { normalizeForLookup } from 'mastodon/reducers/accounts_map';
|
||||
|
||||
const mapStateToProps = (state, { params: { acct, id } }) => {
|
||||
const accountId = id || state.getIn(['accounts_map', acct]);
|
||||
const accountId = id || state.getIn(['accounts_map', normalizeForLookup(acct)]);
|
||||
|
||||
if (!accountId) {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue