Skip to content

Commit

Permalink
Fix function to switch tab from directive
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesús Ángel committed Jul 26, 2018
1 parent d5f562c commit 8c6d410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/directives/wz-welcome-card/wz-welcome-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ app.directive('wzWelcomeCard',function(){
},
replace: true,
link: function(scope,elm,attrs){
scope.callSwitchTab = () => scope.switchTab()(scope.currentTab);
scope.callSwitchTab = () => scope.switchTab();
},
template
};
Expand Down

0 comments on commit 8c6d410

Please sign in to comment.