mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-02 21:14:47 +00:00
Render toots with empty contents
This is necessary to display toots with media but otherwise no contents, as glitch-soc displays the media as a child of StatusContent, unlike Mastodon.
This commit is contained in:
parent
1ed9500b52
commit
53eab4470d
|
@ -131,10 +131,6 @@ export default class StatusContent extends React.PureComponent {
|
|||
disabled,
|
||||
} = this.props;
|
||||
|
||||
if (status.get('content').length === 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const hidden = this.props.setExpansion ? !this.props.expanded : this.state.hidden;
|
||||
|
||||
const content = { __html: status.get('contentHtml') };
|
||||
|
|
Loading…
Reference in a new issue