mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 06:13:43 +01:00
Show reply indicator for empty toots, not undefined toots (fixes #610)
Fix a regression introduced by 612b00d1bb
This commit is contained in:
parent
3fa9bf7cc2
commit
e3bf8c8aa1
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue