about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-07-28 22:44:54 +0200
committerThibG <thib@sitedethib.com>2018-07-28 23:24:15 +0200
commite3bf8c8aa16c6421c02f4550383f592de4e2bcfe (patch)
tree88b11a3ca3ff6e4b3a2615e0c131b1caef8e08a4 /app/javascript
parent3fa9bf7cc2e0ec1761259d4c6883866167174426 (diff)
Show reply indicator for empty toots, not undefined toots (fixes #610)
Fix a regression introduced by 612b00d1bb91c6b11f00fdb273dd8cd2ca883b12
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/flavours/glitch/features/composer/index.js2
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}