about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/lists/components/new_list_form.js
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-08-05 17:58:39 +0200
committerGitHub <noreply@github.com>2019-08-05 17:58:39 +0200
commit0aee74d78a801285ac33647791da9cb1ede9ddf4 (patch)
tree0cf032b9cecdfc4058f59dfaa5c6197e463a5ffe /app/javascript/flavours/glitch/features/lists/components/new_list_form.js
parentff0ceb28b3f1b19a6851a482f8203e434e50f167 (diff)
parent68eb58b8058579f551b8aa94e800283cd0f93f7f (diff)
Merge pull request #1187 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/javascript/flavours/glitch/features/lists/components/new_list_form.js')
-rw-r--r--app/javascript/flavours/glitch/features/lists/components/new_list_form.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/lists/components/new_list_form.js b/app/javascript/flavours/glitch/features/lists/components/new_list_form.js
index 61fcbeaf9..eb5b6188a 100644
--- a/app/javascript/flavours/glitch/features/lists/components/new_list_form.js
+++ b/app/javascript/flavours/glitch/features/lists/components/new_list_form.js
@@ -66,7 +66,7 @@ export default class NewListForm extends React.PureComponent {
         </label>
 
         <IconButton
-          disabled={disabled}
+          disabled={disabled || !value}
           icon='plus'
           title={title}
           onClick={this.handleClick}