Merge pull request #402 from ThibG/glitch-soc/fixes/accept-empty-toot-contents
Render toots with empty contentspull/404/head
commit
4e45954280
|
@ -131,10 +131,6 @@ export default class StatusContent extends React.PureComponent {
|
||||||
disabled,
|
disabled,
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
if (status.get('content').length === 0) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
const hidden = this.props.setExpansion ? !this.props.expanded : this.state.hidden;
|
const hidden = this.props.setExpansion ? !this.props.expanded : this.state.hidden;
|
||||||
|
|
||||||
const content = { __html: status.get('contentHtml') };
|
const content = { __html: status.get('contentHtml') };
|
||||||
|
|
Loading…
Reference in New Issue