diff options
author | Nicu Tofan <nicu.tofan@gmail.com> | 2018-06-28 17:00:35 +0300 |
---|---|---|
committer | Nicu Tofan <nicu.tofan@gmail.com> | 2018-06-28 17:00:35 +0300 |
commit | 3eba6ef2856946925795f9cd370583be892344dd (patch) | |
tree | 11d3bb19678153f955647fbf4b3f6d2299933d7d /client/components/settings/invitationCode.js | |
parent | b7d508e8c4cf858559e144053d119ceaebfa9697 (diff) | |
parent | ad54a8a48404a84b0bf5ff7dab5348be6dda574e (diff) | |
download | wekan-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.js | 2 |
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(); } }); |