1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-24 23:26:22 +09:00

Change the hashtag column to not display the hashtag header on pinned columns (#26416)

This commit is contained in:
Claire 2023-08-09 16:32:40 +02:00 committed by GitHub
parent d9a9323968
commit 4caa9f0e69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,7 +203,7 @@ class HashtagTimeline extends PureComponent {
</ColumnHeader>
<StatusListContainer
prepend={<HashtagHeader tag={tag} disabled={!signedIn} onClick={this.handleFollow} />}
prepend={pinned ? null : <HashtagHeader tag={tag} disabled={!signedIn} onClick={this.handleFollow} />}
alwaysPrepend
trackScroll={!pinned}
scrollKey={`hashtag_timeline-${columnId}`}