mirror of
https://github.com/mastodon/mastodon.git
synced 2025-09-06 01:41:08 +00:00
Ensure featured carousel respects tags (#34995)
This commit is contained in:
parent
7a7e0ba4cd
commit
c543e823ab
|
@ -135,7 +135,7 @@ class AccountTimeline extends ImmutablePureComponent {
|
||||||
};
|
};
|
||||||
|
|
||||||
render () {
|
render () {
|
||||||
const { accountId, statusIds, isLoading, hasMore, blockedBy, suspended, isAccount, hidden, multiColumn, remote, remoteUrl } = this.props;
|
const { accountId, statusIds, isLoading, hasMore, blockedBy, suspended, isAccount, hidden, multiColumn, remote, remoteUrl, params: { tagged } } = this.props;
|
||||||
|
|
||||||
if (isLoading && statusIds.isEmpty()) {
|
if (isLoading && statusIds.isEmpty()) {
|
||||||
return (
|
return (
|
||||||
|
@ -172,8 +172,8 @@ class AccountTimeline extends ImmutablePureComponent {
|
||||||
<StatusList
|
<StatusList
|
||||||
prepend={
|
prepend={
|
||||||
<>
|
<>
|
||||||
<AccountHeader accountId={this.props.accountId} hideTabs={forceEmptyState} tagged={this.props.params.tagged} />
|
<AccountHeader accountId={this.props.accountId} hideTabs={forceEmptyState} tagged={tagged} />
|
||||||
{!forceEmptyState && <FeaturedCarousel accountId={this.props.accountId} />}
|
{!forceEmptyState && <FeaturedCarousel accountId={this.props.accountId} tagged={tagged} />}
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
alwaysPrepend
|
alwaysPrepend
|
||||||
|
|
Loading…
Reference in New Issue
Block a user