diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-07-28 22:44:54 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-07-28 23:24:15 +0200 |
commit | e3bf8c8aa16c6421c02f4550383f592de4e2bcfe (patch) | |
tree | 88b11a3ca3ff6e4b3a2615e0c131b1caef8e08a4 /app | |
parent | 3fa9bf7cc2e0ec1761259d4c6883866167174426 (diff) |
Show reply indicator for empty toots, not undefined toots (fixes #610)
Fix a regression introduced by 612b00d1bb91c6b11f00fdb273dd8cd2ca883b12
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/flavours/glitch/features/composer/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/composer/index.js b/app/javascript/flavours/glitch/features/composer/index.js index 0ee960ae0..b68afacac 100644 --- a/app/javascript/flavours/glitch/features/composer/index.js +++ b/app/javascript/flavours/glitch/features/composer/index.js @@ -328,7 +328,7 @@ class Composer extends React.Component { {privacy === 'direct' ? <ComposerDirectWarning /> : null} {privacy === 'private' && amUnlocked ? <ComposerWarning /> : null} {privacy !== 'public' && APPROX_HASHTAG_RE.test(text) ? <ComposerHashtagWarning /> : null} - {replyContent !== null && ( + {replyAccount && ( <ComposerReply account={replyAccount} content={replyContent} |