mirror of
https://github.com/wekan/wekan.git
synced 2026-02-03 15:11:48 +01:00
removing Utils.getCurrentSetting() and use ReactiveCache directly
This commit is contained in:
parent
a8c071f04c
commit
875442f1ce
8 changed files with 17 additions and 17 deletions
|
|
@ -1,7 +1,9 @@
|
|||
import { ReactiveCache } from '/imports/reactiveCache';
|
||||
|
||||
Template.invitationCode.onRendered(function() {
|
||||
Meteor.subscribe('setting', {
|
||||
onReady() {
|
||||
const setting = Utils.getCurrentSetting();
|
||||
const setting = ReactiveCache.getCurrentSetting();
|
||||
|
||||
if (!setting || !setting.disableRegistration) {
|
||||
$('#invitationcode').hide();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue