summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/components/settings/invitationCode.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/settings/invitationCode.js b/client/components/settings/invitationCode.js
index ce2e9a5b..fa355179 100644
--- a/client/components/settings/invitationCode.js
+++ b/client/components/settings/invitationCode.js
@@ -1,6 +1,6 @@
Template.invitationCode.onRendered(function() {
Meteor.subscribe('setting', {
- onReady : function() {
+ onReady() {
const setting = Settings.findOne();
if (!setting || !setting.disableRegistration) {
@@ -8,6 +8,6 @@ Template.invitationCode.onRendered(function() {
}
return this.stop();
- }
+ },
});
});