Browse Source

Fix lint errors.

Lauri Ojansivu 7 years ago
parent
commit
1b32509496
1 changed files with 2 additions and 2 deletions
  1. 2 2
      client/components/settings/invitationCode.js

+ 2 - 2
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();
-    }
+    },
   });
 });