about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-07-10 21:58:47 +0200
committerThibG <thib@sitedethib.com>2018-07-10 22:53:04 +0200
commit612b00d1bb91c6b11f00fdb273dd8cd2ca883b12 (patch)
treeaca54be05940b1cbc6e969a99a7fca621d10229c /app/javascript/flavours/glitch
parentef1d660596e7d760911a0467454d35318c73c398 (diff)
Display reply indicator even when replying to contentless toot (fixes #564)
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r--app/javascript/flavours/glitch/features/composer/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/features/composer/index.js b/app/javascript/flavours/glitch/features/composer/index.js
index 1bd1b9347..95cb93f30 100644
--- a/app/javascript/flavours/glitch/features/composer/index.js
+++ b/app/javascript/flavours/glitch/features/composer/index.js
@@ -314,14 +314,14 @@ class Composer extends React.Component {
         {privacy === 'direct' ? <ComposerDirectWarning /> : null}
         {privacy === 'private' && amUnlocked ? <ComposerWarning /> : null}
         {privacy !== 'public' && APPROX_HASHTAG_RE.test(text) ? <ComposerHashtagWarning /> : null}
-        {replyContent ? (
+        {replyContent !== null && (
           <ComposerReply
             account={replyAccount}
             content={replyContent}
             intl={intl}
             onCancel={onCancelReply}
           />
-        ) : null}
+        )}
         <ComposerTextarea
           advancedOptions={advancedOptions}
           autoFocus={!showSearch && !isMobile(window.innerWidth, layout)}