small fix to ionTab and version bump

This commit is contained in:
Elie Steinbock 2015-07-05 15:30:36 +03:00
parent 83d9f28d82
commit 8437b552d9
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ Template.ionTab.helpers({
// no session variable has been set, this attempts to set the correct tab
// to active based on the router
var route = Router.routes[this.path];
if(route && route.path(Template.parentData(1)) === ionTabCurrent){
if(route && route.path(Template.currentData()) === ionTabCurrent){
return 'active';
}
},

View file

@ -1,7 +1,7 @@
Package.describe({
name: "meteoric:ionic",
summary: "Ionic components for Meteor. No Angular!",
version: "0.1.18",
version: "0.1.19",
git: "https://github.com/meteoric/meteor-ionic.git"
});