diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-11-19 18:04:02 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-11-19 18:04:02 +0200 |
commit | 99be745f0299b32a8a7b30204b43bff7fd5ba638 (patch) | |
tree | 64cf3ddd2ddf142dbed5914706e91755fcbc5125 /client/components/settings | |
parent | 62e43c083218150b19eb2962dd7e8cd9c7098c9f (diff) | |
download | wekan-99be745f0299b32a8a7b30204b43bff7fd5ba638.tar.gz wekan-99be745f0299b32a8a7b30204b43bff7fd5ba638.tar.bz2 wekan-99be745f0299b32a8a7b30204b43bff7fd5ba638.zip |
Fix: Invitation /sign-up page did not show input for invitation code. Thanks to xet7 !
Diffstat (limited to 'client/components/settings')
-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 a403d8ab..c02f860f 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(); } }); |