mirror of
https://github.com/wekan/wekan.git
synced 2026-02-01 14:11:48 +01:00
Merge branch 'Akuket-devel' into devel
This commit is contained in:
commit
1a7796f2ca
2 changed files with 17 additions and 6 deletions
|
|
@ -13,7 +13,11 @@ and fixes the following mobile bugs:
|
|||
- [Hotfix more sortable elements](https://github.com/wekan/wekan/commit/616dade81c25b10fc409aee1bcc9a93ddbfee81b);
|
||||
- [Hotfix for mobile device](https://github.com/wekan/wekan/commit/43d86d7d5d3f3b34b0500f6d5d3afe7bd86b0060).
|
||||
|
||||
Thanks to GitHub users adyachok, halunk3, Haocen and xet7 for their contributions.
|
||||
and fixes the following bugs:
|
||||
|
||||
- [Fix invitation code](https://github.com/wekan/wekan/pull/1777).
|
||||
|
||||
Thanks to GitHub users adyachok, Akuket, halunk3, Haocen and xet7 for their contributions.
|
||||
|
||||
# v1.18 2018-07-06 Wekan release
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,13 @@
|
|||
Template.invitationCode.onRendered(() => {
|
||||
const setting = Settings.findOne();
|
||||
if (!setting || !setting.disableRegistration) {
|
||||
$('#invitationcode').hide();
|
||||
}
|
||||
Template.invitationCode.onRendered(function() {
|
||||
Meteor.subscribe('setting', {
|
||||
onReady() {
|
||||
const setting = Settings.findOne();
|
||||
|
||||
if (!setting || !setting.disableRegistration) {
|
||||
$('#invitationcode').hide();
|
||||
}
|
||||
|
||||
return this.stop();
|
||||
},
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue