Sfoglia il codice sorgente

Fix stupid error 💥🗯💣🕳💢☠

ppoulard 7 anni fa
parent
commit
02f14d967f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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('/');
       }
     });