about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-07-07 17:24:23 +0200
committerThibG <thib@sitedethib.com>2020-07-07 19:25:42 +0200
commit170b38c3f44ba01a9896a1c5392f6b8cab5998c9 (patch)
tree897ecb2d964c76b07ddd18a83e3fc319ff635548 /app
parenta3ac322ded4277f954b45697ea765b0d90d37e9d (diff)
Fix being unable to add account notes
Diffstat (limited to 'app')
-rw-r--r--app/javascript/flavours/glitch/features/account/components/header.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/account/components/header.js b/app/javascript/flavours/glitch/features/account/components/header.js
index 4ef8036fc..572f34fa0 100644
--- a/app/javascript/flavours/glitch/features/account/components/header.js
+++ b/app/javascript/flavours/glitch/features/account/components/header.js
@@ -176,7 +176,7 @@ class Header extends ImmutablePureComponent {
       menu.push(null);
     }
 
-    if (accountNote === null) {
+    if (accountNote === null || accountNote === '') {
       menu.push({ text: intl.formatMessage(messages.add_account_note, { name: account.get('username') }), action: this.props.onEditAccountNote });
     }