Show reply indicator for empty toots, not undefined toots (fixes #610)
Fix a regression introduced by 14061b76dc
lolsob-rspec
parent
a41c54afac
commit
22618172b4
|
@ -328,7 +328,7 @@ class Composer extends React.Component {
|
||||||
{privacy === 'direct' ? <ComposerDirectWarning /> : null}
|
{privacy === 'direct' ? <ComposerDirectWarning /> : null}
|
||||||
{privacy === 'private' && amUnlocked ? <ComposerWarning /> : null}
|
{privacy === 'private' && amUnlocked ? <ComposerWarning /> : null}
|
||||||
{privacy !== 'public' && APPROX_HASHTAG_RE.test(text) ? <ComposerHashtagWarning /> : null}
|
{privacy !== 'public' && APPROX_HASHTAG_RE.test(text) ? <ComposerHashtagWarning /> : null}
|
||||||
{replyContent !== null && (
|
{replyAccount && (
|
||||||
<ComposerReply
|
<ComposerReply
|
||||||
account={replyAccount}
|
account={replyAccount}
|
||||||
content={replyContent}
|
content={replyContent}
|
||||||
|
|
Loading…
Reference in New Issue