Ver Fonte

Fix stupid error 💥🗯💣🕳💢☠

ppoulard há 7 anos atrás
pai
commit
02f14d967f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      client/components/main/layouts.js

+ 1 - 1
client/components/main/layouts.js

@@ -59,7 +59,7 @@ Template.userFormsLayout.events({
   },
   'click button#cas'() {
     Meteor.loginWithCas(function() {
-      if (FlowRouter.getRouteName() ==== 'atSignIn') {
+      if (FlowRouter.getRouteName() === 'atSignIn') {
         FlowRouter.go('/');
       }
     });