diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-10-23 23:38:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-23 23:38:08 +0200 |
commit | 73de39e6323460792ef8982555e5cfdaefb5a29b (patch) | |
tree | 459de2c2b118de83038c05ad7121f81a83a2720f /app/javascript/mastodon/features/followers/index.js | |
parent | 5452af2188ba65c9f934280b65a2040c8cc9e718 (diff) |
Fix media, following and followers tabs in web UI (#19426)
Diffstat (limited to 'app/javascript/mastodon/features/followers/index.js')
-rw-r--r-- | app/javascript/mastodon/features/followers/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/followers/index.js b/app/javascript/mastodon/features/followers/index.js index 5b7f402f8..277eb702f 100644 --- a/app/javascript/mastodon/features/followers/index.js +++ b/app/javascript/mastodon/features/followers/index.js @@ -21,9 +21,10 @@ import MissingIndicator from 'mastodon/components/missing_indicator'; import TimelineHint from 'mastodon/components/timeline_hint'; import LimitedAccountHint from '../account_timeline/components/limited_account_hint'; import { getAccountHidden } from 'mastodon/selectors'; +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 { |