summaryrefslogtreecommitdiffstats
path: root/client/components/settings/invitationCode.js
diff options
context:
space:
mode:
authorNicu Tofan <nicu.tofan@gmail.com>2018-06-28 17:00:35 +0300
committerNicu Tofan <nicu.tofan@gmail.com>2018-06-28 17:00:35 +0300
commit3eba6ef2856946925795f9cd370583be892344dd (patch)
tree11d3bb19678153f955647fbf4b3f6d2299933d7d /client/components/settings/invitationCode.js
parentb7d508e8c4cf858559e144053d119ceaebfa9697 (diff)
parentad54a8a48404a84b0bf5ff7dab5348be6dda574e (diff)
downloadwekan-3eba6ef2856946925795f9cd370583be892344dd.tar.gz
wekan-3eba6ef2856946925795f9cd370583be892344dd.tar.bz2
wekan-3eba6ef2856946925795f9cd370583be892344dd.zip
Merge branch 'devel' into nested-tasks
Diffstat (limited to 'client/components/settings/invitationCode.js')
-rw-r--r--client/components/settings/invitationCode.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/settings/invitationCode.js b/client/components/settings/invitationCode.js
index c02f860f..a403d8ab 100644
--- a/client/components/settings/invitationCode.js
+++ b/client/components/settings/invitationCode.js
@@ -1,6 +1,6 @@
Template.invitationCode.onRendered(() => {
const setting = Settings.findOne();
- if (setting || setting.disableRegistration) {
+ if (!setting || !setting.disableRegistration) {
$('#invitationcode').hide();
}
});