File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ type Props = {
2222 nsfw : boolean ,
2323 isNsfwBlocked : boolean ,
2424 livestream ?: boolean ,
25+ hideDescription ?: boolean ,
2526 // redux
2627 channelClaimId ?: string ,
2728 title ?: string ,
@@ -36,6 +37,7 @@ export default function FileTitleSection(props: Props) {
3637 nsfw,
3738 isNsfwBlocked,
3839 livestream = false ,
40+ hideDescription,
3941 subCount,
4042 channelClaimId,
4143 title,
@@ -106,7 +108,7 @@ export default function FileTitleSection(props: Props) {
106108 ) : (
107109 < >
108110 < ClaimAuthor channelSubCount = { subCount } uri = { uri } />
109- < FileDescription expandOverride = { isMobile && livestream } uri = { uri } />
111+ { ! hideDescription && < FileDescription expandOverride = { isMobile && livestream } uri = { uri } /> }
110112 </ >
111113 )
112114 }
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ const ShortsSidePanel = React.memo<Props>(
4949 < FileTitleSection uri = { uri } accessStatus = { accessStatus } />
5050 ) : (
5151 < >
52+ < FileTitleSection uri = { uri } accessStatus = { accessStatus } hideDescription />
5253 { contentUnlocked &&
5354 ( commentsDisabled ? (
5455 < Empty padded text = { __ ( 'The creator of this content has disabled comments.' ) } />
You can’t perform that action at this time.
0 commit comments